arm64: uapi: expose our struct ucontext to the uapi headers
authorWill Deacon <will.deacon@arm.com>
Fri, 16 Jan 2015 13:52:14 +0000 (13:52 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 23 Jan 2015 18:07:49 +0000 (18:07 +0000)
commit33b36543df336d9158e1a763fe97251885f52c5c
tree48a3347ceb58603a0246f6c8744dac2f655b2204
parent0aaf0dae81b586134faeb52e28b7ad567629dd68
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>
arch/arm64/include/asm/ucontext.h [deleted file]
arch/arm64/include/uapi/asm/Kbuild
arch/arm64/include/uapi/asm/ucontext.h [new file with mode: 0644]
This page took 0.027768 seconds and 5 git commands to generate.