From: Andrew Morton arch/x86_64/kernel/suspend.c: In function '__save_processor_state': arch/x86_64/kernel/suspend.c:51: warning: implicit declaration of function 'mtrr_save_fixed_ranges' arch/x86_64/kernel/suspend.c: In function '__restore_processor_state': arch/x86_64/kernel/suspend.c:112: warning: implicit declaration of function 'mtrr_ap_init' Cc: Andi Kleen Signed-off-by: Andrew Morton --- arch/x86_64/kernel/suspend.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN arch/x86_64/kernel/suspend.c~fix-x86_64-mm-mtrr-save-the-mtrrs-of-the-bsp-before-booting-an-ap arch/x86_64/kernel/suspend.c --- a/arch/x86_64/kernel/suspend.c~fix-x86_64-mm-mtrr-save-the-mtrrs-of-the-bsp-before-booting-an-ap +++ a/arch/x86_64/kernel/suspend.c @@ -9,9 +9,11 @@ #include #include + #include #include #include +#include /* References to section boundaries */ extern const void __nosave_begin, __nosave_end; _