aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorMathieu Desnoyers <[email protected]>2008-03-04 14:29:00 -0800
committerLinus Torvalds <[email protected]>2008-03-04 16:35:14 -0800
commitacc4988bcf38f9618886eaeb9802aeacc6978ec2 (patch)
tree7056c977e8db45f475b4034b5cb299aec37d42a2 /scripts/patch-kernel
parent544adb41077a10d299a1094f12ec55a5843a9bdb (diff)
markers: add an if(0) to __mark_check_format()
Wrap __mark_check_format() into an if(0) to make sure that parameters such as trace_mark(mm_page_alloc, "order %u pfn %lu", order, page?page_to_pfn(page):0); (where page_to_pfn() has side-effects) won't generate code because of the __mark_check_format(). Thanks to Jan Kiszka for reporting this. Signed-off-by: Mathieu Desnoyers <[email protected]> Cc: Jan Kiszka <[email protected]> Cc: "Frank Ch. Eigler" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions