diff options
author | Tony Luck <tony.luck@intel.com> | 2010-01-08 13:53:28 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-01-08 13:53:28 -0500 |
commit | a651d80c7136029de3c044308fd63d88348915ff (patch) | |
tree | 1193e90957fc94f95308ef150c1a36db88d447da /arch/ia64/include | |
parent | 6c57a332901f851bd092aba7a2b4d8ef4e643829 (diff) |
[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/include')
-rw-r--r-- | arch/ia64/include/asm/types.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/ia64/include/asm/types.h b/arch/ia64/include/asm/types.h index b8e5d97be15..93773fd37be 100644 --- a/arch/ia64/include/asm/types.h +++ b/arch/ia64/include/asm/types.h | |||
@@ -30,16 +30,16 @@ | |||
30 | 30 | ||
31 | typedef unsigned int umode_t; | 31 | typedef unsigned int umode_t; |
32 | 32 | ||
33 | struct fnptr { | ||
34 | unsigned long ip; | ||
35 | unsigned long gp; | ||
36 | }; | ||
37 | |||
38 | /* | 33 | /* |
39 | * These aren't exported outside the kernel to avoid name space clashes | 34 | * These aren't exported outside the kernel to avoid name space clashes |
40 | */ | 35 | */ |
41 | # ifdef __KERNEL__ | 36 | # ifdef __KERNEL__ |
42 | 37 | ||
38 | struct fnptr { | ||
39 | unsigned long ip; | ||
40 | unsigned long gp; | ||
41 | }; | ||
42 | |||
43 | /* DMA addresses are 64-bits wide, in general. */ | 43 | /* DMA addresses are 64-bits wide, in general. */ |
44 | typedef u64 dma_addr_t; | 44 | typedef u64 dma_addr_t; |
45 | 45 | ||