Skip to content

Commit

Permalink
[IA64] move fnptr definition inside #ifdef __KERNEL__
Browse files Browse the repository at this point in the history
Linus pointed out that this definition should not be
exported to user space.

Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Tony Luck committed Jan 8, 2010
1 parent 6c57a33 commit a651d80
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arch/ia64/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a651d80

Please sign in to comment.