]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: HPET: convert WARN_ON to WARN_ON_ONCE
authorMatt Fleming <mjf@gentoo.org>
Sun, 2 Nov 2008 16:04:18 +0000 (16:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 13 Dec 2008 23:29:30 +0000 (15:29 -0800)
commit11ab6487b5c44b37faaa0d01ad362d5afa4f3570
tree5cf0a6aad70369857f273580d065c3ede0b89b12
parent1c03c0828f200dfde456836fe69febb72979b5c7
x86: HPET: convert WARN_ON to WARN_ON_ONCE

commit 1de5b0854623d30d01d72cd4ea323eb5f39d1f16 upstream.

It is possible to flood the console with call traces if the WARN_ON
condition is true because of the frequency with which this function is
called.

Signed-off-by: Matt Fleming <mjf@gentoo.org>
Cc: mingo@elte.hu
Cc: venkatesh.pallipadi@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/hpet.c