repo.or.cz
/
usb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[usb.git]
/
include
/
asm-x86_64
/
resume-trace.h
blob
34bf998fdf6286c9ac2ef24d4fc03423d7916f13
1
#define TRACE_RESUME(user) do { \
2
if (pm_trace_enabled) { \
3
void *tracedata; \
4
asm volatile(
"movq $1f,%0
\n
"
\
5
".section .tracedata,
\"
a
\"\n
"
\
6
"1:
\t
.word %c1
\n
"
\
7
"
\t
.quad %c2
\n
"
\
8
".previous"
\
9
:
"=r"
(tracedata) \
10
:
"i"
(__LINE__),
"i"
(__FILE__)); \
11
generate_resume_trace(tracedata, user); \
12
} \
13
} while (0)