diff options
author | Marc Zyngier <maz@kernel.org> | 2021-04-15 17:05:27 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-15 17:05:27 +0100 |
commit | 979a265264d18eca756319daeb2b583ac39158bb (patch) | |
tree | aec6a194ad7d26df12afb1143953c35d2c3dbab5 | |
parent | a2387e0a1315ac0af4be2158c174ca882c1d27a9 (diff) | |
parent | d3debfcc4e3f65f1370ad4ca2ab61e7f0ff683cd (diff) | |
download | linux-979a265264d18eca756319daeb2b583ac39158bb.tar.gz linux-979a265264d18eca756319daeb2b583ac39158bb.tar.bz2 linux-979a265264d18eca756319daeb2b583ac39158bb.zip |
Merge branch 'kvm-arm64/nvhe-panic-info' into kvmarm-master/next
Signed-off-by: Marc Zyngier <maz@kernel.org>
-rw-r--r-- | include/linux/bug.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/bug.h b/include/linux/bug.h index e3841bee4c8d..348acf2558f3 100644 --- a/include/linux/bug.h +++ b/include/linux/bug.h @@ -61,6 +61,13 @@ static inline enum bug_trap_type report_bug(unsigned long bug_addr, return BUG_TRAP_TYPE_BUG; } +struct bug_entry; +static inline void bug_get_file_line(struct bug_entry *bug, const char **file, + unsigned int *line) +{ + *file = NULL; + *line = 0; +} static inline void generic_bug_clear_once(void) {} |