X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Facpi%2Fsleep.c;h=0d56eaa629ff71d72183e5491d9c53f883740ce7;hp=103b6ab368d39315bc752e02a7bdc5b83ede0acf;hb=32592edb940df95dce3b8fcc62fbaf4c1e5522bf;hpb=73bcbac130a59f236ae78ed70ef7a05b45caa19e diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c index 103b6ab368d3..0d56eaa629ff 100644 --- a/arch/x86/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep.c @@ -15,6 +15,7 @@ #include #include +#include #include "realmode/wakeup.h" #include "sleep.h" @@ -102,7 +103,13 @@ int acpi_suspend_lowlevel(void) saved_magic = 0x123456789abcdef0L; #endif /* CONFIG_64BIT */ + /* + * Pause/unpause graph tracing around do_suspend_lowlevel as it has + * inconsistent call/return info after it jumps to the wakeup vector. + */ + pause_graph_tracing(); do_suspend_lowlevel(); + unpause_graph_tracing(); return 0; }