MIPS: Quit exposing Kconfig symbols in uapi headers.
authorDavid Daney <david.daney@cavium.com>
Wed, 22 May 2013 22:35:56 +0000 (22:35 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 23 May 2013 08:19:04 +0000 (10:19 +0200)
The kernel's struct pt_regs has many fields conditional on various
Kconfig variables, we cannot be exporting this garbage to user-space.

Move the kernel's definition to asm/ptrace.h, and put a uapi only
version in uapi/asm/ptrace.h gated by #ifndef __KERNEL__

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5305/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found