Unverified Commit 1709c70c authored by Palmer Dabbelt's avatar Palmer Dabbelt
Browse files

Merge branch 'riscv-variable_fixes_without_kvm' of...

Merge branch 'riscv-variable_fixes_without_kvm' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git into fixes

This contains a pair of fixes for build-time warnings.

* 'riscv-variable_fixes_without_kvm' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git:
  riscv: traps: add missing prototype
  riscv: signal: fix missing prototype warning
parents 92e55a86 d951b20b
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ASM_SIGNAL_H
#define __ASM_SIGNAL_H

#include <uapi/asm/signal.h>
#include <uapi/asm/ptrace.h>

asmlinkage __visible
void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);

#endif
+2 −0
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@

#ifndef __ASSEMBLY__

extern long shadow_stack[SHADOW_OVERFLOW_STACK_SIZE / sizeof(long)];

#include <asm/processor.h>
#include <asm/csr.h>

+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@

#include <asm/ucontext.h>
#include <asm/vdso.h>
#include <asm/signal.h>
#include <asm/signal32.h>
#include <asm/switch_to.h>
#include <asm/csr.h>
+2 −1
Original line number Diff line number Diff line
@@ -20,9 +20,10 @@

#include <asm/asm-prototypes.h>
#include <asm/bug.h>
#include <asm/csr.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
#include <asm/csr.h>
#include <asm/thread_info.h>

int show_unhandled_signals = 1;