diff options
Diffstat (limited to 'arch/ppc64/kernel/ItLpQueue.c')
-rw-r--r-- | arch/ppc64/kernel/ItLpQueue.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/ppc64/kernel/ItLpQueue.c b/arch/ppc64/kernel/ItLpQueue.c index a81e49b91af0..a849f6775ad6 100644 --- a/arch/ppc64/kernel/ItLpQueue.c +++ b/arch/ppc64/kernel/ItLpQueue.c | |||
@@ -127,14 +127,14 @@ static void hvlpevent_clear_valid( struct HvLpEvent * event ) | |||
127 | event->xFlags.xValid = 0; | 127 | event->xFlags.xValid = 0; |
128 | } | 128 | } |
129 | 129 | ||
130 | unsigned process_hvlpevents(struct pt_regs *regs) | 130 | void process_hvlpevents(struct pt_regs *regs) |
131 | { | 131 | { |
132 | unsigned numIntsProcessed = 0; | 132 | unsigned numIntsProcessed = 0; |
133 | struct HvLpEvent * nextLpEvent; | 133 | struct HvLpEvent * nextLpEvent; |
134 | 134 | ||
135 | /* If we have recursed, just return */ | 135 | /* If we have recursed, just return */ |
136 | if ( !set_inUse() ) | 136 | if ( !set_inUse() ) |
137 | return 0; | 137 | return; |
138 | 138 | ||
139 | if (ItLpQueueInProcess == 0) | 139 | if (ItLpQueueInProcess == 0) |
140 | ItLpQueueInProcess = 1; | 140 | ItLpQueueInProcess = 1; |
@@ -144,9 +144,6 @@ unsigned process_hvlpevents(struct pt_regs *regs) | |||
144 | for (;;) { | 144 | for (;;) { |
145 | nextLpEvent = get_next_hvlpevent(); | 145 | nextLpEvent = get_next_hvlpevent(); |
146 | if ( nextLpEvent ) { | 146 | if ( nextLpEvent ) { |
147 | /* Count events to return to caller | ||
148 | * and count processed events in hvlpevent_queue | ||
149 | */ | ||
150 | ++numIntsProcessed; | 147 | ++numIntsProcessed; |
151 | hvlpevent_queue.xLpIntCount++; | 148 | hvlpevent_queue.xLpIntCount++; |
152 | /* Call appropriate handler here, passing | 149 | /* Call appropriate handler here, passing |
@@ -186,8 +183,6 @@ unsigned process_hvlpevents(struct pt_regs *regs) | |||
186 | clear_inUse(); | 183 | clear_inUse(); |
187 | 184 | ||
188 | get_paca()->lpevent_count += numIntsProcessed; | 185 | get_paca()->lpevent_count += numIntsProcessed; |
189 | |||
190 | return numIntsProcessed; | ||
191 | } | 186 | } |
192 | 187 | ||
193 | static int set_spread_lpevents(char *str) | 188 | static int set_spread_lpevents(char *str) |