x86, mm: fault.c, use printk_once() in is_errata93()
authorIngo Molnar <mingo@elte.hu>
Sun, 3 May 2009 08:09:03 +0000 (10:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 3 May 2009 08:09:03 +0000 (10:09 +0200)
commita454ab3110175d710f4f9a96226a26ce4d5d5de2
tree5244b639232b2fe7d9c8806ed784881042967607
parent9518e0e4350a5ea8ca200ce320b28d6284a7b0ce
x86, mm: fault.c, use printk_once() in is_errata93()

Andrew pointed out that the 'once' variable has a needlessly
function-global scope. We can in fact eliminate it completely,
via the use of printk_once().

[ Impact: cleanup ]

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/fault.c