diff options
author | Jan Beulich <JBeulich@suse.com> | 2015-10-19 04:35:44 -0600 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-10-21 11:17:32 +0200 |
commit | 3d45ac4b35cbdf942f2a45b2b927f2ef6a8bda48 (patch) | |
tree | 9d014868ba49ada6fbfb3d082214d78d5c648302 /arch/x86/kernel/quirks.c | |
parent | 3bc2159faf897bab51e4f1144b525d21823832a6 (diff) | |
download | linux-stable-3d45ac4b35cbdf942f2a45b2b927f2ef6a8bda48.tar.gz linux-stable-3d45ac4b35cbdf942f2a45b2b927f2ef6a8bda48.tar.bz2 linux-stable-3d45ac4b35cbdf942f2a45b2b927f2ef6a8bda48.zip |
timers/x86/hpet: Type adjustments
Standardize on bool instead of an inconsistent mixture of u8 and plain 'int'.
Also use u32 or 'unsigned int' instead of 'unsigned long' when a 32-bit type
suffices, generating slightly better code on x86-64.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/5624E3A002000078000AC49A@prv-mh.provo.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/quirks.c')
-rw-r--r-- | arch/x86/kernel/quirks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/quirks.c b/arch/x86/kernel/quirks.c index 176a0f99d4da..cc457ff818ad 100644 --- a/arch/x86/kernel/quirks.c +++ b/arch/x86/kernel/quirks.c @@ -524,7 +524,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E6XX_CU, */ static void force_disable_hpet_msi(struct pci_dev *unused) { - hpet_msi_disable = 1; + hpet_msi_disable = true; } DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS, |