diff options
author | Zong Li <zong.li@sifive.com> | 2020-06-01 09:10:58 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-06-10 04:11:27 +0200 |
commit | 05589dde649cd954a122b0ebb2cbe4ade8a80e98 (patch) | |
tree | 237f5c68d9741fec7f9ab94629ebb824c42d5c73 /arch/riscv/kernel/kgdb.c | |
parent | RISC-V: Don't mark init section as non-executable (diff) | |
download | linux-05589dde649cd954a122b0ebb2cbe4ade8a80e98.tar.xz linux-05589dde649cd954a122b0ebb2cbe4ade8a80e98.zip |
riscv: fix build warning of missing prototypes
Add the missing header in file, it was lost in original implementation.
The warning message as follows:
- no previous prototype for 'patch_text_nosync' [-Wmissing-prototypes]
- no previous prototype for 'patch_text' [-Wmissing-prototypes]
Changed in v2:
- Correct the typo of commit message.
Signed-off-by: Zong Li <zong.li@sifive.com>
Reported-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/kernel/kgdb.c')
0 files changed, 0 insertions, 0 deletions