projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c57a33
)
[IA64] move fnptr definition inside #ifdef __KERNEL__
author
Tony Luck
<tony.luck@intel.com>
Fri, 8 Jan 2010 18:53:28 +0000
(10:53 -0800)
committer
Tony Luck
<tony.luck@intel.com>
Fri, 8 Jan 2010 18:53:28 +0000
(10:53 -0800)
Linus pointed out that this definition should not be
exported to user space.
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/types.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/include/asm/types.h
b/arch/ia64/include/asm/types.h
index b8e5d97be158a5b03797479b1ea6c202a38556c8..93773fd37be0fec66fbc10f702da8aad4c91f62c 100644
(file)
--- 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;