diff options
author | Palmer Dabbelt | 2022-08-25 16:37:17 -0700 |
---|---|---|
committer | Palmer Dabbelt | 2022-08-25 16:38:01 -0700 |
commit | 1709c70c31e05e6e87b2ffa0a2b4cc0da4b2c513 (patch) | |
tree | 300c66d5066f0bead480120c21f0798ee8964a4b /arch/riscv/kernel | |
parent | 92e55a865bc7b3f89bb8c684f6846651868ee7d7 (diff) | |
parent | d951b20b9def73dcc39a5379831525d0d2a537e9 (diff) |
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
Diffstat (limited to 'arch/riscv/kernel')
-rw-r--r-- | arch/riscv/kernel/signal.c | 1 | ||||
-rw-r--r-- | arch/riscv/kernel/traps.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/riscv/kernel/signal.c b/arch/riscv/kernel/signal.c index 38b05ca6fe66..5a2de6b6f882 100644 --- a/arch/riscv/kernel/signal.c +++ b/arch/riscv/kernel/signal.c @@ -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> diff --git a/arch/riscv/kernel/traps.c b/arch/riscv/kernel/traps.c index 39d0f8bba4b4..635e6ec26938 100644 --- a/arch/riscv/kernel/traps.c +++ b/arch/riscv/kernel/traps.c @@ -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; |