diff options
Diffstat (limited to 'arch/ppc64/kernel/ItLpQueue.c')
-rw-r--r-- | arch/ppc64/kernel/ItLpQueue.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/ItLpQueue.c b/arch/ppc64/kernel/ItLpQueue.c index e55fe1a2725f..a81e49b91af0 100644 --- a/arch/ppc64/kernel/ItLpQueue.c +++ b/arch/ppc64/kernel/ItLpQueue.c | |||
@@ -70,7 +70,7 @@ static __inline__ void clear_inUse(void) | |||
70 | extern LpEventHandler lpEventHandler[HvLpEvent_Type_NumTypes]; | 70 | extern LpEventHandler lpEventHandler[HvLpEvent_Type_NumTypes]; |
71 | unsigned long ItLpQueueInProcess = 0; | 71 | unsigned long ItLpQueueInProcess = 0; |
72 | 72 | ||
73 | static struct HvLpEvent * ItLpQueue_getNextLpEvent(void) | 73 | static struct HvLpEvent * get_next_hvlpevent(void) |
74 | { | 74 | { |
75 | struct HvLpEvent * nextLpEvent = | 75 | struct HvLpEvent * nextLpEvent = |
76 | (struct HvLpEvent *)hvlpevent_queue.xSlicCurEventPtr; | 76 | (struct HvLpEvent *)hvlpevent_queue.xSlicCurEventPtr; |
@@ -94,7 +94,7 @@ static struct HvLpEvent * ItLpQueue_getNextLpEvent(void) | |||
94 | 94 | ||
95 | static unsigned long spread_lpevents = NR_CPUS; | 95 | static unsigned long spread_lpevents = NR_CPUS; |
96 | 96 | ||
97 | int ItLpQueue_isLpIntPending(void) | 97 | int hvlpevent_is_pending(void) |
98 | { | 98 | { |
99 | struct HvLpEvent *next_event; | 99 | struct HvLpEvent *next_event; |
100 | 100 | ||
@@ -105,7 +105,7 @@ int ItLpQueue_isLpIntPending(void) | |||
105 | return next_event->xFlags.xValid | hvlpevent_queue.xPlicOverflowIntPending; | 105 | return next_event->xFlags.xValid | hvlpevent_queue.xPlicOverflowIntPending; |
106 | } | 106 | } |
107 | 107 | ||
108 | static void ItLpQueue_clearValid( struct HvLpEvent * event ) | 108 | static void hvlpevent_clear_valid( struct HvLpEvent * event ) |
109 | { | 109 | { |
110 | /* Clear the valid bit of the event | 110 | /* Clear the valid bit of the event |
111 | * Also clear bits within this event that might | 111 | * Also clear bits within this event that might |
@@ -127,7 +127,7 @@ static void ItLpQueue_clearValid( struct HvLpEvent * event ) | |||
127 | event->xFlags.xValid = 0; | 127 | event->xFlags.xValid = 0; |
128 | } | 128 | } |
129 | 129 | ||
130 | unsigned ItLpQueue_process(struct pt_regs *regs) | 130 | unsigned process_hvlpevents(struct pt_regs *regs) |
131 | { | 131 | { |
132 | unsigned numIntsProcessed = 0; | 132 | unsigned numIntsProcessed = 0; |
133 | struct HvLpEvent * nextLpEvent; | 133 | struct HvLpEvent * nextLpEvent; |
@@ -142,7 +142,7 @@ unsigned ItLpQueue_process(struct pt_regs *regs) | |||
142 | BUG(); | 142 | BUG(); |
143 | 143 | ||
144 | for (;;) { | 144 | for (;;) { |
145 | nextLpEvent = ItLpQueue_getNextLpEvent(); | 145 | nextLpEvent = get_next_hvlpevent(); |
146 | if ( nextLpEvent ) { | 146 | if ( nextLpEvent ) { |
147 | /* Count events to return to caller | 147 | /* Count events to return to caller |
148 | * and count processed events in hvlpevent_queue | 148 | * and count processed events in hvlpevent_queue |
@@ -170,7 +170,7 @@ unsigned ItLpQueue_process(struct pt_regs *regs) | |||
170 | else | 170 | else |
171 | printk(KERN_INFO "Unexpected Lp Event type=%d\n", nextLpEvent->xType ); | 171 | printk(KERN_INFO "Unexpected Lp Event type=%d\n", nextLpEvent->xType ); |
172 | 172 | ||
173 | ItLpQueue_clearValid( nextLpEvent ); | 173 | hvlpevent_clear_valid( nextLpEvent ); |
174 | } else if ( hvlpevent_queue.xPlicOverflowIntPending ) | 174 | } else if ( hvlpevent_queue.xPlicOverflowIntPending ) |
175 | /* | 175 | /* |
176 | * No more valid events. If overflow events are | 176 | * No more valid events. If overflow events are |