diff options
-rw-r--r-- | arch/ppc64/kernel/ItLpQueue.c | 4 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/ItLpQueue.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/ppc64/kernel/ItLpQueue.c b/arch/ppc64/kernel/ItLpQueue.c index 11cd31dfcef8..ac0b05a6e067 100644 --- a/arch/ppc64/kernel/ItLpQueue.c +++ b/arch/ppc64/kernel/ItLpQueue.c | |||
@@ -62,7 +62,7 @@ static __inline__ void clear_inUse(void) | |||
62 | extern LpEventHandler lpEventHandler[HvLpEvent_Type_NumTypes]; | 62 | extern LpEventHandler lpEventHandler[HvLpEvent_Type_NumTypes]; |
63 | unsigned long ItLpQueueInProcess = 0; | 63 | unsigned long ItLpQueueInProcess = 0; |
64 | 64 | ||
65 | struct HvLpEvent * ItLpQueue_getNextLpEvent(void) | 65 | static struct HvLpEvent * ItLpQueue_getNextLpEvent(void) |
66 | { | 66 | { |
67 | struct HvLpEvent * nextLpEvent = | 67 | struct HvLpEvent * nextLpEvent = |
68 | (struct HvLpEvent *)xItLpQueue.xSlicCurEventPtr; | 68 | (struct HvLpEvent *)xItLpQueue.xSlicCurEventPtr; |
@@ -97,7 +97,7 @@ int ItLpQueue_isLpIntPending(void) | |||
97 | return next_event->xFlags.xValid | xItLpQueue.xPlicOverflowIntPending; | 97 | return next_event->xFlags.xValid | xItLpQueue.xPlicOverflowIntPending; |
98 | } | 98 | } |
99 | 99 | ||
100 | void ItLpQueue_clearValid( struct HvLpEvent * event ) | 100 | static void ItLpQueue_clearValid( struct HvLpEvent * event ) |
101 | { | 101 | { |
102 | /* Clear the valid bit of the event | 102 | /* Clear the valid bit of the event |
103 | * Also clear bits within this event that might | 103 | * Also clear bits within this event that might |
diff --git a/include/asm-ppc64/iSeries/ItLpQueue.h b/include/asm-ppc64/iSeries/ItLpQueue.h index de90feedbe12..be1cb7f3f884 100644 --- a/include/asm-ppc64/iSeries/ItLpQueue.h +++ b/include/asm-ppc64/iSeries/ItLpQueue.h | |||
@@ -76,10 +76,8 @@ struct ItLpQueue { | |||
76 | 76 | ||
77 | extern struct ItLpQueue xItLpQueue; | 77 | extern struct ItLpQueue xItLpQueue; |
78 | 78 | ||
79 | extern struct HvLpEvent *ItLpQueue_getNextLpEvent(void); | ||
80 | extern int ItLpQueue_isLpIntPending(void); | 79 | extern int ItLpQueue_isLpIntPending(void); |
81 | extern unsigned ItLpQueue_process(struct pt_regs *); | 80 | extern unsigned ItLpQueue_process(struct pt_regs *); |
82 | extern void ItLpQueue_clearValid(struct HvLpEvent *); | ||
83 | extern void setup_hvlpevent_queue(void); | 81 | extern void setup_hvlpevent_queue(void); |
84 | 82 | ||
85 | #endif /* _ITLPQUEUE_H */ | 83 | #endif /* _ITLPQUEUE_H */ |