diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-10 06:01:59 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-10 06:01:59 -0400 |
commit | be770021011f00bd6220c87876292053221ca5f1 (patch) | |
tree | 004a568289a595082119064edf07503170153c19 /arch/x86 | |
parent | e5e02de0665ef2477e7a018193051387c6fe0fbc (diff) | |
parent | f321c9cbf3bbf86f6e6153419eaf93ad085e3d74 (diff) |
Merge back earlier suspend/hibernate material for v4.1.
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/pm-trace.h (renamed from arch/x86/include/asm/resume-trace.h) | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86/include/asm/resume-trace.h b/arch/x86/include/asm/pm-trace.h index 3ff1c2cb1da5..7b7ac42c3661 100644 --- a/arch/x86/include/asm/resume-trace.h +++ b/arch/x86/include/asm/pm-trace.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef _ASM_X86_RESUME_TRACE_H | 1 | #ifndef _ASM_X86_PM_TRACE_H |
2 | #define _ASM_X86_RESUME_TRACE_H | 2 | #define _ASM_X86_PM_TRACE_H |
3 | 3 | ||
4 | #include <asm/asm.h> | 4 | #include <asm/asm.h> |
5 | 5 | ||
@@ -14,8 +14,10 @@ do { \ | |||
14 | ".previous" \ | 14 | ".previous" \ |
15 | :"=r" (tracedata) \ | 15 | :"=r" (tracedata) \ |
16 | : "i" (__LINE__), "i" (__FILE__)); \ | 16 | : "i" (__LINE__), "i" (__FILE__)); \ |
17 | generate_resume_trace(tracedata, user); \ | 17 | generate_pm_trace(tracedata, user); \ |
18 | } \ | 18 | } \ |
19 | } while (0) | 19 | } while (0) |
20 | 20 | ||
21 | #endif /* _ASM_X86_RESUME_TRACE_H */ | 21 | #define TRACE_SUSPEND(user) TRACE_RESUME(user) |
22 | |||
23 | #endif /* _ASM_X86_PM_TRACE_H */ | ||