summaryrefslogtreecommitdiff
path: root/include/asm-sparc64/shmparam.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-21 08:48:27 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-21 08:48:27 +0100
commit09087a1a8722fac30b1969a4a542cde064af13f8 (patch)
treef49a0f35ea85e2756c147269da11c8526112cbbf /include/asm-sparc64/shmparam.h
parent47dbec79d1b9ce9e80bed932f345adc92049f05d (diff)
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-sparc64/shmparam.h')
-rw-r--r--include/asm-sparc64/shmparam.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/shmparam.h b/include/asm-sparc64/shmparam.h
index 8c66fded8a32..911d0427de6d 100644
--- a/include/asm-sparc64/shmparam.h
+++ b/include/asm-sparc64/shmparam.h
@@ -1,6 +1,7 @@
/* $Id: shmparam.h,v 1.5 2001/09/24 21:17:57 kanoj Exp $ */
#ifndef _ASMSPARC64_SHMPARAM_H
#define _ASMSPARC64_SHMPARAM_H
+#ifdef __KERNEL__
#include <asm/spitfire.h>
@@ -8,4 +9,5 @@
/* attach addr a multiple of this */
#define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE)
+#endif /* __KERNEL__ */
#endif /* _ASMSPARC64_SHMPARAM_H */