ACPI: thinkpad-acpi: trivial fix to documentation
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-i386 / resume-trace.h
blobec9cfd65623005acbcc31a5ecfa873cd80d47ce7
1 #define TRACE_RESUME(user) do { \
2 if (pm_trace_enabled) { \
3 void *tracedata; \
4 asm volatile("movl $1f,%0\n" \
5 ".section .tracedata,\"a\"\n" \
6 "1:\t.word %c1\n" \
7 "\t.long %c2\n" \
8 ".previous" \
9 :"=r" (tracedata) \
10 : "i" (__LINE__), "i" (__FILE__)); \
11 generate_resume_trace(tracedata, user); \
12 } \
13 } while (0)