7 extern void set_trace_device(struct device *);
8 extern void generate_resume_trace(void *tracedata, unsigned int user);
10 #define TRACE_DEVICE(dev) set_trace_device(dev)
11 #define TRACE_RESUME(user) do { \
13 asm volatile("movl $1f,%0\n" \
14 ".section .tracedata,\"a\"\n" \
19 : "i" (__LINE__), "i" (__FILE__)); \
20 generate_resume_trace(tracedata, user); \
25 #define TRACE_DEVICE(dev) do { } while (0)
26 #define TRACE_RESUME(dev) do { } while (0)