summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/ucontext.h
diff options
context:
space:
mode:
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;
};
OpenPOWER on IntegriCloud