summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/ucontext.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-03-19 13:56:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-03-19 13:56:18 -0700
commite7489622d3603b7d161b484dcd340d9f678b0c7a (patch)
tree7a54f7ce9ffb6eab52ff425598ad517c6d52ba62 /arch/arm64/include/asm/ucontext.h
parent7b1b3fd74e3a8a63858fc5382af90d2a19f4afb8 (diff)
parent792072066d30372772137be9ee2f4d72d77329f9 (diff)
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64
Pull arm64 fixes from Catalin Marinas: - Fix !SMP build error. - Fix padding computation in struct ucontext (no ABI change). - Minor clean-up after the signal patches (unused var). - Two old Kconfig options clean-up. * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64: arm64: Kconfig.debug: Remove unused CONFIG_DEBUG_ERRORS arm64: Do not select GENERIC_HARDIRQS_NO_DEPRECATED arm64: fix padding computation in struct ucontext arm64: Fix build error with !SMP arm64: Removed unused variable in compat_setup_rt_frame()
Diffstat (limited to 'arch/arm64/include/asm/ucontext.h')
-rw-r--r--arch/arm64/include/asm/ucontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/ucontext.h b/arch/arm64/include/asm/ucontext.h
index bde960720892..42e04c877428 100644
--- a/arch/arm64/include/asm/ucontext.h
+++ b/arch/arm64/include/asm/ucontext.h
@@ -22,7 +22,7 @@ struct ucontext {
stack_t uc_stack;
sigset_t uc_sigmask;
/* glibc uses a 1024-bit sigset_t */
- __u8 __unused[(1024 - sizeof(sigset_t)) / 8];
+ __u8 __unused[1024 / 8 - sizeof(sigset_t)];
/* last for future expansion */
struct sigcontext uc_mcontext;
};