diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-11-27 14:24:44 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-11-27 19:37:41 (GMT) |
commit | 18ed61da985c57eea3fe8038b13fa2837c9b3c3f (patch) | |
tree | 76f4088ded6203e981438b53b04317f73f27a82b /init | |
parent | c8bc6f3c806f1fcbfdbf0b1ff6c52dba59192d3b (diff) | |
download | linux-18ed61da985c57eea3fe8038b13fa2837c9b3c3f.tar.xz |
x86: hpet: Make WARN_ON understandable
Andrew complained rightly that the WARN_ON in hpet_next_event() is
confusing and the code comment not really helpful.
Change it to WARN_ONCE and print the reason in clear text. Change the
comment to explain what kind of hardware wreckage we deal with.
Pointed-out-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Venki Pallipadi <venkatesh.pallipadi@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions