@@ -140,11 +140,11 @@ static void __init kexec_reserve_crashkres_pages(void)
#endif
}
#else
-static void __init reserve_crashkernel(void)
+static inline void reserve_crashkernel(void)
{
}
-static void __init kexec_reserve_crashkres_pages(void)
+static inline void kexec_reserve_crashkres_pages(void)
{
}
#endif /* CONFIG_KEXEC_CORE */
@@ -195,7 +195,7 @@ static void __init reserve_elfcorehdr(void)
elfcorehdr_size >> 10, elfcorehdr_addr);
}
#else
-static void __init reserve_elfcorehdr(void)
+static inline void reserve_elfcorehdr(void)
{
}
#endif /* CONFIG_CRASH_DUMP */