diff options
Diffstat (limited to 'arch/ppc/syslib')
-rw-r--r-- | arch/ppc/syslib/open_pic.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/ppc/syslib/open_pic.c b/arch/ppc/syslib/open_pic.c index 406f36a8a681..7619e16fccae 100644 --- a/arch/ppc/syslib/open_pic.c +++ b/arch/ppc/syslib/open_pic.c | |||
@@ -78,7 +78,6 @@ static void openpic_mapirq(u_int irq, cpumask_t cpumask, cpumask_t keepmask); | |||
78 | */ | 78 | */ |
79 | #ifdef notused | 79 | #ifdef notused |
80 | static void openpic_enable_8259_pass_through(void); | 80 | static void openpic_enable_8259_pass_through(void); |
81 | static u_int openpic_get_priority(void); | ||
82 | static u_int openpic_get_spurious(void); | 81 | static u_int openpic_get_spurious(void); |
83 | static void openpic_set_sense(u_int irq, int sense); | 82 | static void openpic_set_sense(u_int irq, int sense); |
84 | #endif /* notused */ | 83 | #endif /* notused */ |
@@ -465,8 +464,7 @@ void openpic_eoi(void) | |||
465 | (void)openpic_read(&OpenPIC->THIS_CPU.EOI); | 464 | (void)openpic_read(&OpenPIC->THIS_CPU.EOI); |
466 | } | 465 | } |
467 | 466 | ||
468 | #ifdef notused | 467 | u_int openpic_get_priority(void) |
469 | static u_int openpic_get_priority(void) | ||
470 | { | 468 | { |
471 | DECL_THIS_CPU; | 469 | DECL_THIS_CPU; |
472 | 470 | ||
@@ -474,7 +472,6 @@ static u_int openpic_get_priority(void) | |||
474 | return openpic_readfield(&OpenPIC->THIS_CPU.Current_Task_Priority, | 472 | return openpic_readfield(&OpenPIC->THIS_CPU.Current_Task_Priority, |
475 | OPENPIC_CURRENT_TASK_PRIORITY_MASK); | 473 | OPENPIC_CURRENT_TASK_PRIORITY_MASK); |
476 | } | 474 | } |
477 | #endif /* notused */ | ||
478 | 475 | ||
479 | void openpic_set_priority(u_int pri) | 476 | void openpic_set_priority(u_int pri) |
480 | { | 477 | { |