Withdrawn.

-----Original Message-----
From: Sanders, Richard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 10:52 AM
To: Kdb (E-mail)
Subject: invalid parameters to test_bit


v4.2
The second parameter to test_bit takes a pointer.



--- /h/rsanders/trees/2.0_kdb4/ftl_future/linux/arch/i386/kernel/traps.c
Tue Jun 10 09:11:22 2003
+++ arch/i386/kernel/traps.c    Mon Jun  9 17:17:05 2003
@@ -1006,8 +1007,8 @@
        set_trap_gate(12,&stack_segment);
        set_trap_gate(13,&general_protection);
 #ifdef CONFIG_KDB
-       if (test_bit(X86_FEATURE_MCE, boot_cpu_data.x86_capability) &&
-           test_bit(X86_FEATURE_MCA, boot_cpu_data.x86_capability)) {
+       if (test_bit(X86_FEATURE_MCE, &boot_cpu_data.x86_capability) &&
+           test_bit(X86_FEATURE_MCA, &boot_cpu_data.x86_capability)) {
                set_intr_gate(14,&page_fault_mca);
        }
        else {

Reply via email to