aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/common-offsets.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-10-23 13:22:01 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-23 13:22:01 -0400
commit5b34653963de7a6d0d8c783527457d68fddc60fb (patch)
tree1a234741e1823a54cd0514616f783b4cf503a528 /arch/um/include/common-offsets.h
parent765426e8ee4c0ab2bc9d44951f4865b8494cdbd0 (diff)
parent5e1b00758b5a8bee9d42515bffdaf305a32f1b04 (diff)
Merge branch 'x86/um-header' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86/um-header' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (26 commits) x86: canonicalize remaining header guards x86: drop double underscores from header guards x86: Fix ASM_X86__ header guards x86, um: get rid of uml-config.h x86, um: get rid of arch/um/Kconfig.arch x86, um: get rid of arch/um/os symlink x86, um: get rid of excessive includes of uml-config.h x86, um: get rid of header symlinks x86, um: merge Kconfig.i386 and Kconfig.x86_64 x86, um: get rid of sysdep symlink x86, um: trim the junk from uml ptrace-*.h x86, um: take vm-flags.h to sysdep x86, um: get rid of uml asm/arch x86, um: get rid of uml highmem.h x86, um: get rid of uml unistd.h x86, um: get rid of system.h -> system.h include x86, um: uml atomic.h is not needed anymore x86, um: untangle uml ldt.h x86, um: get rid of more uml asm/arch uses x86, um: remove dead header (uml module-generic.h; never used these days) ...
Diffstat (limited to 'arch/um/include/common-offsets.h')
-rw-r--r--arch/um/include/common-offsets.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/arch/um/include/common-offsets.h b/arch/um/include/common-offsets.h
deleted file mode 100644
index b54bd35585c2..000000000000
--- a/arch/um/include/common-offsets.h
+++ /dev/null
@@ -1,41 +0,0 @@
1/* for use by sys-$SUBARCH/kernel-offsets.c */
2
3DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
4
5OFFSET(HOST_TASK_REGS, task_struct, thread.regs);
6OFFSET(HOST_TASK_PID, task_struct, pid);
7
8DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
9DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);
10DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT);
11DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
12
13DEFINE_STR(UM_KERN_EMERG, KERN_EMERG);
14DEFINE_STR(UM_KERN_ALERT, KERN_ALERT);
15DEFINE_STR(UM_KERN_CRIT, KERN_CRIT);
16DEFINE_STR(UM_KERN_ERR, KERN_ERR);
17DEFINE_STR(UM_KERN_WARNING, KERN_WARNING);
18DEFINE_STR(UM_KERN_NOTICE, KERN_NOTICE);
19DEFINE_STR(UM_KERN_INFO, KERN_INFO);
20DEFINE_STR(UM_KERN_DEBUG, KERN_DEBUG);
21DEFINE_STR(UM_KERN_CONT, KERN_CONT);
22
23DEFINE(UM_ELF_CLASS, ELF_CLASS);
24DEFINE(UM_ELFCLASS32, ELFCLASS32);
25DEFINE(UM_ELFCLASS64, ELFCLASS64);
26
27DEFINE(UM_NR_CPUS, NR_CPUS);
28
29DEFINE(UM_GFP_KERNEL, GFP_KERNEL);
30DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC);
31
32/* For crypto assembler code. */
33DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx));
34
35DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
36
37DEFINE(UM_HZ, HZ);
38
39DEFINE(UM_USEC_PER_SEC, USEC_PER_SEC);
40DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
41DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC);