HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
permit multiline comments and strings in macros
[bpt/coccinelle.git]
/
demos
/
itimer.cocci
1
@@
2
@@
3
4
- if (cputime_eq(cputime, cputime_zero))
5
- cputime = jiffies_to_cputime(1);
6
+ if (cputime_gt(cputime, cputime_zero))
7
+ cputime = cputime_add(cputime,
8
+ jiffies_to_cputime(1));