diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 09:48:27 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 09:48:27 +0200 |
commit | 09087a1a8722fac30b1969a4a542cde064af13f8 (patch) | |
tree | f49a0f35ea85e2756c147269da11c8526112cbbf /include/asm-sparc/page.h | |
parent | Fix 'make headers_check' on m32r (diff) | |
download | linux-09087a1a8722fac30b1969a4a542cde064af13f8.tar.xz linux-09087a1a8722fac30b1969a4a542cde064af13f8.zip |
Fix exported headers for SPARC, SPARC64
Mostly removing files which have no business being used in userspace.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc/page.h')
-rw-r--r-- | include/asm-sparc/page.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-sparc/page.h b/include/asm-sparc/page.h index 5bab8a7c25ce..ff57648eb8f8 100644 --- a/include/asm-sparc/page.h +++ b/include/asm-sparc/page.h @@ -8,6 +8,8 @@ #ifndef _SPARC_PAGE_H #define _SPARC_PAGE_H +#ifdef __KERNEL__ + #ifdef CONFIG_SUN4 #define PAGE_SHIFT 13 #else @@ -21,8 +23,6 @@ #endif #define PAGE_MASK (~(PAGE_SIZE-1)) -#ifdef __KERNEL__ - #include <asm/btfixup.h> #ifndef __ASSEMBLY__ @@ -160,9 +160,9 @@ extern unsigned long pfn_base; #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) -#endif /* __KERNEL__ */ - #include <asm-generic/memory_model.h> #include <asm-generic/page.h> +#endif /* __KERNEL__ */ + #endif /* _SPARC_PAGE_H */ |