projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for v2.6.17
[lttv.git]
/
genevent
/
genevent.c
diff --git
a/genevent/genevent.c
b/genevent/genevent.c
index c788d85a92bc8e9298c59f1be82597d05f7a3b71..faf362e5543426dd05d4124f073e9c89435cf6de 100644
(file)
--- a/
genevent/genevent.c
+++ b/
genevent/genevent.c
@@
-1508,7
+1508,7
@@
int print_event_logging_function(char *basename, facility_t *fac,
print_tabs(1, fd);
fprintf(fd, "preempt_disable();\n");
print_tabs(1, fd);
print_tabs(1, fd);
fprintf(fd, "preempt_disable();\n");
print_tabs(1, fd);
- fprintf(fd, "
ltt_nesting[smp_processor_id()]
++;\n");
+ fprintf(fd, "
current->ltt_nesting
++;\n");
/* Get facility index */
/* Get facility index */
@@
-1632,7
+1632,7
@@
int print_event_logging_function(char *basename, facility_t *fac,
/* Release locks */
print_tabs(1, fd);
/* Release locks */
print_tabs(1, fd);
- fprintf(fd, "
ltt_nesting[smp_processor_id()]
--;\n");
+ fprintf(fd, "
current->ltt_nesting
--;\n");
print_tabs(1, fd);
fprintf(fd, "preempt_enable_no_resched();\n");
print_tabs(1, fd);
fprintf(fd, "preempt_enable_no_resched();\n");
This page took
0.025051 seconds
and
4
git commands to generate.