Commit 82e0703b6ca8b549952c1e4f04746f27eaec012d
Committed by
Linus Torvalds
1 parent
7c733eb3ea
Exists in
master
and in
13 other branches
include/linux/crash_dump.h: add vmcore_cleanup() prototype
Eliminate the following warning in proc/vmcore.c: fs/proc/vmcore.c:1088:6: warning: no previous prototype for `vmcore_cleanup' [-Wmissing-prototypes] [akpm@linux-foundation.org: clean up powerpc, remove unneeded EXPORT_SYMBOL] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 3 changed files with 1 additions and 2 deletions Side-by-side Diff
arch/powerpc/include/asm/fadump.h
... | ... | @@ -210,7 +210,6 @@ |
210 | 210 | extern void crash_fadump(struct pt_regs *, const char *); |
211 | 211 | extern void fadump_cleanup(void); |
212 | 212 | |
213 | -extern void vmcore_cleanup(void); | |
214 | 213 | #else /* CONFIG_FA_DUMP */ |
215 | 214 | static inline int is_fadump_active(void) { return 0; } |
216 | 215 | static inline void crash_fadump(struct pt_regs *regs, const char *str) { } |
fs/proc/vmcore.c
include/linux/crash_dump.h