提交 a651d80c 编写于 作者: T Tony Luck

[IA64] move fnptr definition inside #ifdef __KERNEL__

Linus pointed out that this definition should not be
exported to user space.
Signed-off-by: NTony Luck <tony.luck@intel.com>
上级 6c57a332
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册