]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/powerpc/kernel/signal_32.c
Merge tag 'powerpc-4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
[linux.git] / arch / powerpc / kernel / signal_32.c
index a46de0035214dc94772960245861a7bb43f16b8c..492f03451877e99678ed7a625769dcf6a283f0b2 100644 (file)
@@ -1045,7 +1045,7 @@ long sys_swapcontext(struct ucontext __user *old_ctx,
                     struct ucontext __user *new_ctx,
                     int ctx_size, int r6, int r7, int r8, struct pt_regs *regs)
 {
-       unsigned char tmp;
+       unsigned char tmp __maybe_unused;
        int ctx_has_vsx_region = 0;
 
 #ifdef CONFIG_PPC64
@@ -1231,7 +1231,7 @@ int sys_debug_setcontext(struct ucontext __user *ctx,
 {
        struct sig_dbg_op op;
        int i;
-       unsigned char tmp;
+       unsigned char tmp __maybe_unused;
        unsigned long new_msr = regs->msr;
 #ifdef CONFIG_PPC_ADV_DEBUG_REGS
        unsigned long new_dbcr0 = current->thread.debug.dbcr0;