linux/arch/x86/purgatory
Tobin C. Harding e98fe5127b x86/purgatory: Fix sparse warning, symbol not declared
Sparse emits warning, 'symbol not declared' for a function that has
neither file scope nor a forward declaration. The functions only call
site is an ASM file.

Add a header file with the function declaration. Include the header file in
the C source file defining the function in order to fix the sparse
warning. Include the header file in ASM file containing the call site to
document the usage.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Link: http://lkml.kernel.org/r/1487545956-2547-3-git-send-email-me@tobin.cc
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-03-01 11:27:26 +01:00
..
entry64.S kexec: support for kexec on panic using new system call 2014-08-08 15:57:33 -07:00
Makefile x86/kexec: add -fno-PIE 2016-11-09 22:28:09 +01:00
purgatory.c x86/purgatory: Fix sparse warning, symbol not declared 2017-03-01 11:27:26 +01:00
purgatory.h x86/purgatory: Fix sparse warning, symbol not declared 2017-03-01 11:27:26 +01:00
setup-x86_64.S x86/purgatory: Fix sparse warning, symbol not declared 2017-03-01 11:27:26 +01:00
sha256.c
sha256.h
stack.S x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
string.c