Loading arch/powerpc/xmon/xmon.c +7 −7 Original line number Original line Diff line number Diff line Loading @@ -311,7 +311,7 @@ static void release_output_lock(void) } } #endif #endif int xmon_core(struct pt_regs *regs, int fromipi) static int xmon_core(struct pt_regs *regs, int fromipi) { { int cmd = 0; int cmd = 0; unsigned long msr; unsigned long msr; Loading Loading @@ -528,7 +528,7 @@ xmon_irq(int irq, void *d, struct pt_regs *regs) return IRQ_HANDLED; return IRQ_HANDLED; } } int xmon_bpt(struct pt_regs *regs) static int xmon_bpt(struct pt_regs *regs) { { struct bpt *bp; struct bpt *bp; unsigned long offset; unsigned long offset; Loading @@ -554,7 +554,7 @@ int xmon_bpt(struct pt_regs *regs) return 1; return 1; } } int xmon_sstep(struct pt_regs *regs) static int xmon_sstep(struct pt_regs *regs) { { if (user_mode(regs)) if (user_mode(regs)) return 0; return 0; Loading @@ -562,7 +562,7 @@ int xmon_sstep(struct pt_regs *regs) return 1; return 1; } } int xmon_dabr_match(struct pt_regs *regs) static int xmon_dabr_match(struct pt_regs *regs) { { if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) return 0; return 0; Loading @@ -572,7 +572,7 @@ int xmon_dabr_match(struct pt_regs *regs) return 1; return 1; } } int xmon_iabr_match(struct pt_regs *regs) static int xmon_iabr_match(struct pt_regs *regs) { { if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) return 0; return 0; Loading @@ -582,7 +582,7 @@ int xmon_iabr_match(struct pt_regs *regs) return 1; return 1; } } int xmon_ipi(struct pt_regs *regs) static int xmon_ipi(struct pt_regs *regs) { { #ifdef CONFIG_SMP #ifdef CONFIG_SMP if (in_xmon && !cpu_isset(smp_processor_id(), cpus_in_xmon)) if (in_xmon && !cpu_isset(smp_processor_id(), cpus_in_xmon)) Loading @@ -591,7 +591,7 @@ int xmon_ipi(struct pt_regs *regs) return 0; return 0; } } int xmon_fault_handler(struct pt_regs *regs) static int xmon_fault_handler(struct pt_regs *regs) { { struct bpt *bp; struct bpt *bp; unsigned long offset; unsigned long offset; Loading Loading
arch/powerpc/xmon/xmon.c +7 −7 Original line number Original line Diff line number Diff line Loading @@ -311,7 +311,7 @@ static void release_output_lock(void) } } #endif #endif int xmon_core(struct pt_regs *regs, int fromipi) static int xmon_core(struct pt_regs *regs, int fromipi) { { int cmd = 0; int cmd = 0; unsigned long msr; unsigned long msr; Loading Loading @@ -528,7 +528,7 @@ xmon_irq(int irq, void *d, struct pt_regs *regs) return IRQ_HANDLED; return IRQ_HANDLED; } } int xmon_bpt(struct pt_regs *regs) static int xmon_bpt(struct pt_regs *regs) { { struct bpt *bp; struct bpt *bp; unsigned long offset; unsigned long offset; Loading @@ -554,7 +554,7 @@ int xmon_bpt(struct pt_regs *regs) return 1; return 1; } } int xmon_sstep(struct pt_regs *regs) static int xmon_sstep(struct pt_regs *regs) { { if (user_mode(regs)) if (user_mode(regs)) return 0; return 0; Loading @@ -562,7 +562,7 @@ int xmon_sstep(struct pt_regs *regs) return 1; return 1; } } int xmon_dabr_match(struct pt_regs *regs) static int xmon_dabr_match(struct pt_regs *regs) { { if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) return 0; return 0; Loading @@ -572,7 +572,7 @@ int xmon_dabr_match(struct pt_regs *regs) return 1; return 1; } } int xmon_iabr_match(struct pt_regs *regs) static int xmon_iabr_match(struct pt_regs *regs) { { if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) return 0; return 0; Loading @@ -582,7 +582,7 @@ int xmon_iabr_match(struct pt_regs *regs) return 1; return 1; } } int xmon_ipi(struct pt_regs *regs) static int xmon_ipi(struct pt_regs *regs) { { #ifdef CONFIG_SMP #ifdef CONFIG_SMP if (in_xmon && !cpu_isset(smp_processor_id(), cpus_in_xmon)) if (in_xmon && !cpu_isset(smp_processor_id(), cpus_in_xmon)) Loading @@ -591,7 +591,7 @@ int xmon_ipi(struct pt_regs *regs) return 0; return 0; } } int xmon_fault_handler(struct pt_regs *regs) static int xmon_fault_handler(struct pt_regs *regs) { { struct bpt *bp; struct bpt *bp; unsigned long offset; unsigned long offset; Loading