Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a651d80c authored by Tony Luck's avatar Tony Luck
Browse files

[IA64] move fnptr definition inside #ifdef __KERNEL__



Linus pointed out that this definition should not be
exported to user space.

Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 6c57a332
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -30,16 +30,16 @@


typedef unsigned int umode_t;
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
 * These aren't exported outside the kernel to avoid name space clashes
 */
 */
# ifdef __KERNEL__
# ifdef __KERNEL__


struct fnptr {
	unsigned long ip;
	unsigned long gp;
};

/* DMA addresses are 64-bits wide, in general.  */
/* DMA addresses are 64-bits wide, in general.  */
typedef u64 dma_addr_t;
typedef u64 dma_addr_t;