RE: [PATCH] ia64: optimize pagefaults a little

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+	if (!user_mode(regs)) {
+		/* kprobe_running() needs smp_processor_id() */
+		preempt_disable();
+		if (kprobe_running() && kprobes_fault_handler(regs, trap))
+			ret = 1
+		preempt_enable();
+	}

Missing a ';' on the "ret = 1" line.
 
 	DIE_FAULT,
 	DIE_OOPS,
-	DIE_PAGE_FAULT,
 	DIE_MACHINE_HALT,
 	DIE_MACHINE_RESTART,
 	DIE_MCA_MONARCH_ENTER,

You've deleted the DIE_PAGE_FAULT identifier, but there
is still code in kprobes.c:kprobe_exceptions_notify() that
uses it.  Presumably you meant to delete the whole

    case DIE_PAGE_FAULT:

clause there too?

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux