clocksource: check range
authorDavid Howells <dhowells@redhat.com>
Wed, 20 Aug 2008 23:37:26 +0000 (16:37 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Aug 2008 07:50:23 +0000 (09:50 +0200)
commitee974e01e5ef2914036f08c8e41d1a3fa8bfc9d9
tree6d3c7bed6467837bdd8247b01e6f92d792bdd58c
parent6a55617ed5d1aa62b850de2cf66f5ede2eef4825
clocksource: check range

Check that the value being passed to parse_pmtmr() does not exceed the
limits of pmtmr_ioport.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/clocksource/acpi_pm.c