X86_32->CONFIG_HPET_TIMER default is N -> hpet.o will not compiled in ->
early-quirk source code do not need.

You can refine it as this:

diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c 
index 5f6f543..f976650 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -98,12 +98,14 @@ static void __init nvidia_bugs(int num, int slot, int func)
 
 static void __init amd_sb700_hpet(int num, int slot, int func)  {
+#ifdef CONFIG_HPET_TIMER
        int rev;
        rev = read_pci_config_byte(num, slot, func, 0x08);
        if (rev <= 0x3a && rev >= 0x30) {
                sb700_hpet_workaround = 1;
                printk(KERN_INFO "SB700 rev 0x3a or lower detected!\n");
        }
+#endif
 }
 
 #define QFLAG_APPLY_ONCE       0x1

-- 
Ubuntu 8.10 Alpha3 boot fail on SB700A12 platform
https://bugs.launchpad.net/bugs/255910
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to