summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2010-01-08 10:53:28 -0800
committerTony Luck <tony.luck@intel.com>2010-01-08 10:53:28 -0800
commita651d80c7136029de3c044308fd63d88348915ff (patch)
tree1193e90957fc94f95308ef150c1a36db88d447da /arch/ia64
parent6c57a332901f851bd092aba7a2b4d8ef4e643829 (diff)
downloadlinux-a651d80c7136029de3c044308fd63d88348915ff.tar.bz2
[IA64] move fnptr definition inside #ifdef __KERNEL__
Linus pointed out that this definition should not be exported to user space. Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/types.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/ia64/include/asm/types.h b/arch/ia64/include/asm/types.h
index b8e5d97be158..93773fd37be0 100644
--- a/arch/ia64/include/asm/types.h
+++ b/arch/ia64/include/asm/types.h
@@ -30,16 +30,16 @@
typedef unsigned int umode_t;
-struct fnptr {
- unsigned long ip;
- unsigned long gp;
-};
-
/*
* These aren't exported outside the kernel to avoid name space clashes
*/
# ifdef __KERNEL__
+struct fnptr {
+ unsigned long ip;
+ unsigned long gp;
+};
+
/* DMA addresses are 64-bits wide, in general. */
typedef u64 dma_addr_t;