| To: | "Kdb (E-mail)" <kdb@xxxxxxxxxxx> |
|---|---|
| Subject: | invalid parameters to test_bit |
| From: | "Sanders, Richard" <Richard.Sanders@xxxxxxxxxxx> |
| Date: | Tue, 10 Jun 2003 10:51:40 -0400 |
| Sender: | kdb-bounce@xxxxxxxxxxx |
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 {
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: KDB: SMP locking problem, Keith Owens |
|---|---|
| Next by Date: | breaking into kdb via usb keyboard, Sanders, Richard |
| Previous by Thread: | KDB: SMP locking problem, Sanders, Richard |
| Next by Thread: | RE: invalid parameters to test_bit, Sanders, Richard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |