diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 04:26:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:04 -0400 |
commit | 71f926f2ea61994470a53c9e11d3ef993197cada (patch) | |
tree | 731d5ce6d0be171f693a1c0960f752a5b8e708fc /arch/um/include/common-offsets.h | |
parent | 2f8a2dc2cf8012179e35c1f01a1eef45de18f1a7 (diff) |
uml: stop using libc asm/page.h
Remove includes of asm/page.h from libc code. This header seems to be
disappearing, and UML doesn't make much use of it anyway.
The one use, PAGE_SHIFT in stub.h, is handled by copying the constant from the
kernel side of the house in common_offsets.h.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include/common-offsets.h')
-rw-r--r-- | arch/um/include/common-offsets.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/include/common-offsets.h b/arch/um/include/common-offsets.h index 6eee343e53eb..2378ff42e41c 100644 --- a/arch/um/include/common-offsets.h +++ b/arch/um/include/common-offsets.h | |||
@@ -10,6 +10,7 @@ OFFSET(HOST_TASK_PID, task_struct, pid); | |||
10 | 10 | ||
11 | DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE); | 11 | DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE); |
12 | DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK); | 12 | DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK); |
13 | DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT); | ||
13 | DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); | 14 | DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); |
14 | 15 | ||
15 | DEFINE_STR(UM_KERN_EMERG, KERN_EMERG); | 16 | DEFINE_STR(UM_KERN_EMERG, KERN_EMERG); |