summaryrefslogtreecommitdiff
path: root/arch/arm64/include/uapi/asm/Kbuild
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-01-16 16:52:14 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2015-01-23 21:07:49 +0300
commit33b36543df336d9158e1a763fe97251885f52c5c (patch)
tree48a3347ceb58603a0246f6c8744dac2f655b2204 /arch/arm64/include/uapi/asm/Kbuild
parent0aaf0dae81b586134faeb52e28b7ad567629dd68 (diff)
downloadlinux-33b36543df336d9158e1a763fe97251885f52c5c.tar.xz
arm64: uapi: expose our struct ucontext to the uapi headers
arm64 defines its own ucontext structure which is incompatible with the struct defined (and exposed to userspace by) the asm-generic headers. glibc carries its own struct definition that is compatible with the arm64 definition, but we should expose our format in the uapi headers in case other libraries want to make use of the ucontext pushed as part of an arm64 sigframe. This patch moves the arm64 asm/ucontext.h to the uapi headers, along with the necessary #include of linux/types.h. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Marcus Shawcroft <marcus.shawcroft@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/uapi/asm/Kbuild')
-rw-r--r--arch/arm64/include/uapi/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/Kbuild b/arch/arm64/include/uapi/asm/Kbuild
index 942376d37d22..825b0fe51c2b 100644
--- a/arch/arm64/include/uapi/asm/Kbuild
+++ b/arch/arm64/include/uapi/asm/Kbuild
@@ -18,4 +18,5 @@ header-y += siginfo.h
header-y += signal.h
header-y += stat.h
header-y += statfs.h
+header-y += ucontext.h
header-y += unistd.h