]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit053ef06393bb6f5588c8080b295164fbdd541280
tree48a3347ceb58603a0246f6c8744dac2f655b2204
parent9877ba67b863b1495996f52c3d193c0a85e977ae
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]