diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-17 19:48:37 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 07:55:19 +0200 |
commit | 8569c9140bd41089f9b6be8837ca421102714a90 (patch) | |
tree | cd289b322b215fe2ca2530aa320febfd99388d7f /arch/um/include/sysdep-x86_64/kernel-offsets.h | |
parent | binfmt_elf_fdpic: Update for cputime changes. (diff) | |
download | linux-8569c9140bd41089f9b6be8837ca421102714a90.tar.xz linux-8569c9140bd41089f9b6be8837ca421102714a90.zip |
x86, um: take arch/um/include/* out of the way
We can't just plop asm/* into it - userland helpers are built with it
in search path and seeing asm/* show up there suddenly would be a bad
idea.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/um/include/sysdep-x86_64/kernel-offsets.h')
-rw-r--r-- | arch/um/include/sysdep-x86_64/kernel-offsets.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/um/include/sysdep-x86_64/kernel-offsets.h b/arch/um/include/sysdep-x86_64/kernel-offsets.h deleted file mode 100644 index a307237b7964..000000000000 --- a/arch/um/include/sysdep-x86_64/kernel-offsets.h +++ /dev/null @@ -1,23 +0,0 @@ -#include <linux/stddef.h> -#include <linux/sched.h> -#include <linux/time.h> -#include <linux/elf.h> -#include <linux/crypto.h> -#include <asm/page.h> -#include <asm/mman.h> - -#define DEFINE(sym, val) \ - asm volatile("\n->" #sym " %0 " #val : : "i" (val)) - -#define DEFINE_STR1(x) #x -#define DEFINE_STR(sym, val) asm volatile("\n->" #sym " " DEFINE_STR1(val) " " #val: : ) - -#define BLANK() asm volatile("\n->" : : ) - -#define OFFSET(sym, str, mem) \ - DEFINE(sym, offsetof(struct str, mem)); - -void foo(void) -{ -#include <common-offsets.h> -} |