diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-01 08:08:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-01 19:17:05 -0500 |
commit | e7bc537db9e13adee1f294aa370f16d80f40b73d (patch) | |
tree | 23d7c8f6c66c197faa869055a6fc5e4edb3fa6ee /include/asm-frv/page.h | |
parent | 190ff5b3a168b666925897558998b5d97fec8731 (diff) |
[PATCH] fix frv headers_check
a) registers.h is really needed there
b) include of asm-generic/termios should be under __KERNEL__
c) includes of asm-generic/{memory_model,page} should be under
__KERNEL (nothing in there that would work in userland)
d) a lot of stuff in ptrace.h should be under __KERNEL__.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-frv/page.h')
-rw-r--r-- | include/asm-frv/page.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-frv/page.h b/include/asm-frv/page.h index 134cc0cdf6c2..213d92fd652a 100644 --- a/include/asm-frv/page.h +++ b/include/asm-frv/page.h | |||
@@ -76,8 +76,6 @@ extern unsigned long max_pfn; | |||
76 | 76 | ||
77 | #endif /* __ASSEMBLY__ */ | 77 | #endif /* __ASSEMBLY__ */ |
78 | 78 | ||
79 | #endif /* __KERNEL__ */ | ||
80 | |||
81 | #ifdef CONFIG_CONTIGUOUS_PAGE_ALLOC | 79 | #ifdef CONFIG_CONTIGUOUS_PAGE_ALLOC |
82 | #define WANT_PAGE_VIRTUAL 1 | 80 | #define WANT_PAGE_VIRTUAL 1 |
83 | #endif | 81 | #endif |
@@ -85,4 +83,6 @@ extern unsigned long max_pfn; | |||
85 | #include <asm-generic/memory_model.h> | 83 | #include <asm-generic/memory_model.h> |
86 | #include <asm-generic/page.h> | 84 | #include <asm-generic/page.h> |
87 | 85 | ||
86 | #endif /* __KERNEL__ */ | ||
87 | |||
88 | #endif /* _ASM_PAGE_H */ | 88 | #endif /* _ASM_PAGE_H */ |