mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
06f5013aa8
In x86, mman.h, module.h, scatterlist.h, types.h and ucontext.h can use the asm-generic version by just defining the x86 specific parts locally and falling back on the generic code for the common bits. This patch illustrates the differences between the x86 and asm-generic versions by changing a file that is initially identical to the x86 version to one that is identical to the asm-generic version. Signed-off-by: Arnd Bergmann <arnd@arndb.de> LKML-Reference: <cover.1245354003.git.arnd@arndb.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 lines
339 B
C
13 lines
339 B
C
#ifndef _ASM_X86_UCONTEXT_H
|
|
#define _ASM_X86_UCONTEXT_H
|
|
|
|
#define UC_FP_XSTATE 0x1 /* indicates the presence of extended state
|
|
* information in the memory layout pointed
|
|
* by the fpstate pointer in the ucontext's
|
|
* sigcontext struct (uc_mcontext).
|
|
*/
|
|
|
|
#include <asm/generic-ucontext.h>
|
|
|
|
#endif /* _ASM_X86_UCONTEXT_H */
|