sparc: Add __KERNEL__ ifdef protection to pt_regs helpers.
commit6717c282e407650c29e7b058623d89f543015a33
authorDavid S. Miller <davem@davemloft.net>
Fri, 1 Aug 2008 03:32:35 +0000 (31 20:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Aug 2008 03:32:35 +0000 (31 20:32 -0700)
treed23e0e8cea5ec49f5946dfd35bd20ec6e6cd53a9
parent9c636e30a33aa37873c53977c429f0fdad4ec0eb
sparc: Add __KERNEL__ ifdef protection to pt_regs helpers.

Some of them use 'bool' and whatnot and therefore are not
kosher for userspace, so don't export them there.

Reported by Roland McGrath.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/ptrace_32.h
arch/sparc/include/asm/ptrace_64.h