diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2006-01-10 19:00:05 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2006-01-12 04:39:14 -0500 |
| commit | b0da985644faa45def84ce5d8e18af6f1680f490 (patch) | |
| tree | b883c5825a9f80ad1a4aa4fd50ab3f30ede7263d /arch | |
| parent | ff38e7c80a92de91b34e483478d81eb3d1cf1b37 (diff) | |
[PATCH] powerpc: xmon namespace cleanups
These symbols are only used in the file that they are defined in,
so they should not be in the global namespace.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/powerpc/xmon/xmon.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 22612ed5379c..7d02fa2a8990 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
| @@ -311,7 +311,7 @@ static void release_output_lock(void) | |||
| 311 | } | 311 | } |
| 312 | #endif | 312 | #endif |
| 313 | 313 | ||
| 314 | int xmon_core(struct pt_regs *regs, int fromipi) | 314 | static int xmon_core(struct pt_regs *regs, int fromipi) |
| 315 | { | 315 | { |
| 316 | int cmd = 0; | 316 | int cmd = 0; |
| 317 | unsigned long msr; | 317 | unsigned long msr; |
| @@ -528,7 +528,7 @@ xmon_irq(int irq, void *d, struct pt_regs *regs) | |||
| 528 | return IRQ_HANDLED; | 528 | return IRQ_HANDLED; |
| 529 | } | 529 | } |
| 530 | 530 | ||
| 531 | int xmon_bpt(struct pt_regs *regs) | 531 | static int xmon_bpt(struct pt_regs *regs) |
| 532 | { | 532 | { |
| 533 | struct bpt *bp; | 533 | struct bpt *bp; |
| 534 | unsigned long offset; | 534 | unsigned long offset; |
| @@ -554,7 +554,7 @@ int xmon_bpt(struct pt_regs *regs) | |||
| 554 | return 1; | 554 | return 1; |
| 555 | } | 555 | } |
| 556 | 556 | ||
| 557 | int xmon_sstep(struct pt_regs *regs) | 557 | static int xmon_sstep(struct pt_regs *regs) |
| 558 | { | 558 | { |
| 559 | if (user_mode(regs)) | 559 | if (user_mode(regs)) |
| 560 | return 0; | 560 | return 0; |
| @@ -562,7 +562,7 @@ int xmon_sstep(struct pt_regs *regs) | |||
| 562 | return 1; | 562 | return 1; |
| 563 | } | 563 | } |
| 564 | 564 | ||
| 565 | int xmon_dabr_match(struct pt_regs *regs) | 565 | static int xmon_dabr_match(struct pt_regs *regs) |
| 566 | { | 566 | { |
| 567 | if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) | 567 | if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) |
| 568 | return 0; | 568 | return 0; |
| @@ -572,7 +572,7 @@ int xmon_dabr_match(struct pt_regs *regs) | |||
| 572 | return 1; | 572 | return 1; |
| 573 | } | 573 | } |
| 574 | 574 | ||
| 575 | int xmon_iabr_match(struct pt_regs *regs) | 575 | static int xmon_iabr_match(struct pt_regs *regs) |
| 576 | { | 576 | { |
| 577 | if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) | 577 | if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) != (MSR_IR|MSR_SF)) |
| 578 | return 0; | 578 | return 0; |
| @@ -582,7 +582,7 @@ int xmon_iabr_match(struct pt_regs *regs) | |||
| 582 | return 1; | 582 | return 1; |
| 583 | } | 583 | } |
| 584 | 584 | ||
| 585 | int xmon_ipi(struct pt_regs *regs) | 585 | static int xmon_ipi(struct pt_regs *regs) |
| 586 | { | 586 | { |
| 587 | #ifdef CONFIG_SMP | 587 | #ifdef CONFIG_SMP |
| 588 | if (in_xmon && !cpu_isset(smp_processor_id(), cpus_in_xmon)) | 588 | if (in_xmon && !cpu_isset(smp_processor_id(), cpus_in_xmon)) |
| @@ -591,7 +591,7 @@ int xmon_ipi(struct pt_regs *regs) | |||
| 591 | return 0; | 591 | return 0; |
| 592 | } | 592 | } |
| 593 | 593 | ||
| 594 | int xmon_fault_handler(struct pt_regs *regs) | 594 | static int xmon_fault_handler(struct pt_regs *regs) |
| 595 | { | 595 | { |
| 596 | struct bpt *bp; | 596 | struct bpt *bp; |
| 597 | unsigned long offset; | 597 | unsigned long offset; |
