diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-19 20:35:02 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-19 20:35:02 +0200 |
commit | b17530bda22e7ffbf08f7a8a50743256b1672f6a (patch) | |
tree | 061c081e68d8dc6f7326d45bca97997b337efe27 /arch/x86/kernel/hpet.c | |
parent | x86: quirk.c trivial coding style and white space cleanup (diff) | |
download | linux-b17530bda22e7ffbf08f7a8a50743256b1672f6a.tar.xz linux-b17530bda22e7ffbf08f7a8a50743256b1672f6a.zip |
x86: add force_hpet boot option
add force_hpet boot option.
(this will be useful to make the forced-enable quirks depend on.)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/hpet.c')
-rw-r--r-- | arch/x86/kernel/hpet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index f8367074da0d..22d8f00c80dc 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c @@ -69,12 +69,15 @@ static inline void hpet_clear_mapping(void) * HPET command line enable / disable */ static int boot_hpet_disable; +int hpet_force_user; static int __init hpet_setup(char* str) { if (str) { if (!strncmp("disable", str, 7)) boot_hpet_disable = 1; + if (!strncmp("force", str, 5)) + hpet_force_user = 1; } return 1; } |