6 extern int pm_trace_enabled
;
9 extern void set_trace_device(struct device
*);
10 extern void generate_resume_trace(void *tracedata
, unsigned int user
);
12 #define TRACE_DEVICE(dev) set_trace_device(dev)
13 #define TRACE_RESUME(user) do { \
14 if (pm_trace_enabled) { \
16 asm volatile("movl $1f,%0\n" \
17 ".section .tracedata,\"a\"\n" \
22 : "i" (__LINE__), "i" (__FILE__)); \
23 generate_resume_trace(tracedata, user); \
29 #define TRACE_DEVICE(dev) do { } while (0)
30 #define TRACE_RESUME(dev) do { } while (0)