aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-01-08 16:57:19 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-08 16:57:19 -0500
commitd86527ddcab4684d1a051b5f35f023b4374b1271 (patch)
tree681cc85e16defea8f3c4f8d011f08f79898138a8
parent0446e9d46347344dd2d794927f22eb81e1d1c296 (diff)
parenta651d80c7136029de3c044308fd63d88348915ff (diff)
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: [IA64] move fnptr definition inside #ifdef __KERNEL__
-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 @@
30 30
31typedef unsigned int umode_t; 31typedef unsigned int umode_t;
32 32
33struct 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
38struct 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. */
44typedef u64 dma_addr_t; 44typedef u64 dma_addr_t;
45 45