itimer: Use printk_once instead of WARN_ONCE
authorThomas Gleixner <tglx@linutronix.de>
Tue, 10 Apr 2012 08:50:55 +0000 (10:50 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Apr 2012 09:00:30 +0000 (11:00 +0200)
commit9886f444129171569461d8c39983e16f4871e3b4
tree2ceefb3988e602a58f8055b4ec82b00eb306abf9
parent6f103929f8979d2638e58d7f7fda0beefcb8ee7e
itimer: Use printk_once instead of WARN_ONCE

David pointed out, that WARN_ONCE() to report usage of an deprecated
misfeature make folks unhappy. Use printk_once() instead.

Andrew told me to stop grumbling and to remove the silly typecast
while touching the file.

Reported-by: David Rientjes <rientjes@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/itimer.c