+       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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to