Skip to content
Commit 8f657933 authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

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: default avatarDavid Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5305/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent be8a6d45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment