[PATCH] Fix 'make headers_check' on ia64
On Tue, 2006-09-12 at 17:44 +0100, David Woodhouse wrote: > asm-ia64/ptrace.h requires asm/asm-offsets.h, which does not exist > asm-ia64/resource.h requires asm/ustack.h, which does not exist Hide parts which shouldn't be visible to userspace. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: "Luck, Tony" <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
124b51c7a8
commit
d5759641f5
@@ -7,6 +7,7 @@
|
||||
* David Mosberger-Tang <davidm@hpl.hp.com>
|
||||
*/
|
||||
|
||||
# ifdef __KERNEL__
|
||||
|
||||
#include <asm/intrinsics.h>
|
||||
#include <asm/types.h>
|
||||
@@ -64,7 +65,6 @@
|
||||
# define __pa(x) ((x) - PAGE_OFFSET)
|
||||
# define __va(x) ((x) + PAGE_OFFSET)
|
||||
#else /* !__ASSEMBLY */
|
||||
# ifdef __KERNEL__
|
||||
# define STRICT_MM_TYPECHECKS
|
||||
|
||||
extern void clear_page (void *page);
|
||||
@@ -174,7 +174,6 @@ get_order (unsigned long size)
|
||||
return order;
|
||||
}
|
||||
|
||||
# endif /* __KERNEL__ */
|
||||
#endif /* !__ASSEMBLY__ */
|
||||
|
||||
#ifdef STRICT_MM_TYPECHECKS
|
||||
@@ -228,4 +227,5 @@ get_order (unsigned long size)
|
||||
(((current->personality & READ_IMPLIES_EXEC) != 0) \
|
||||
? VM_EXEC : 0))
|
||||
|
||||
# endif /* __KERNEL__ */
|
||||
#endif /* _ASM_IA64_PAGE_H */
|
||||
|
Reference in New Issue
Block a user