aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorJesper Juhl <[email protected]>2011-12-18 00:32:09 +0000
committerIngo Molnar <[email protected]>2011-12-18 08:14:18 +0000
commit2ac13462b6d242684996e88a07fbed6dec6af622 (patch)
tree8ceb25c2d5fbc5624bf8e04eb8ed5dd51f2453b2 /net/unix
parentx86, CPU: Drop superfluous get_cpu_cap() prototype (diff)
downloadkernel-2ac13462b6d242684996e88a07fbed6dec6af622.tar.gz
kernel-2ac13462b6d242684996e88a07fbed6dec6af622.zip
x86: Use "do { } while(0)" for empty flush_tlb_fix_spurious_fault() macro
If one builds the kernel with -Wempty-body one gets this warning: mm/memory.c:3432:46: warning: suggest braces around empty body in an ¡if¢ statement [-Wempty-body] due to the fact that 'flush_tlb_fix_spurious_fault' is a macro that can sometimes be defined to nothing. Signed-off-by: Jesper Juhl <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: [email protected] Cc: Michel Lespinasse <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Johannes Weiner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions