mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
[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>
This commit is contained in:
parent
6c57a33290
commit
a651d80c71
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue