From: David Daney Date: Wed, 22 May 2013 22:35:56 +0000 (+0000) Subject: MIPS: Quit exposing Kconfig symbols in uapi headers. X-Git-Tag: v3.10-rc5~5^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f657933a3c2086d4731350c98f91a990783c0d3;p=pandora-kernel.git MIPS: Quit exposing Kconfig symbols in uapi headers. 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5305/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed