x86: setup.c find_and_reserve_crashkernel should be static
Impact: cleanup, reduce kernel size a bit Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
c0195b6da0
commit
a9b43c7d98
@@ -448,6 +448,7 @@ static void __init reserve_early_setup_data(void)
|
|||||||
* @size: Size of the crashkernel memory to reserve.
|
* @size: Size of the crashkernel memory to reserve.
|
||||||
* Returns the base address on success, and -1ULL on failure.
|
* Returns the base address on success, and -1ULL on failure.
|
||||||
*/
|
*/
|
||||||
|
static
|
||||||
unsigned long long __init find_and_reserve_crashkernel(unsigned long long size)
|
unsigned long long __init find_and_reserve_crashkernel(unsigned long long size)
|
||||||
{
|
{
|
||||||
const unsigned long long alignment = 16<<20; /* 16M */
|
const unsigned long long alignment = 16<<20; /* 16M */
|
||||||
|
Reference in New Issue
Block a user