aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/irq.c
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2011-11-29 10:38:50 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-12-07 22:05:54 -0500
commit816cb49a4baf0e4b27730bcc31e5d35a1eadd283 (patch)
tree32deb80375a3c91c31e6d708c1328c62aa505772 /arch/powerpc/kernel/irq.c
parentb5ecc5595e4fb2992093b3d2d0e15b4630eb233b (diff)
powerpc/ps3: Fix hcall lv1_get_version_info
The lv1_get_version_info hcall takes 2, not 1 output arguments. Adjust the lv1 hcall table and all calls. Usage: int lv1_get_version_info(u64 *version_number, u64 *vendor_id) Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
-rw-r--r--arch/powerpc/kernel/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index 2ff4f5e59620..701d4aceb4f4 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -186,8 +186,8 @@ notrace void arch_local_irq_restore(unsigned long en)
186 * Any HV call will have this side effect. 186 * Any HV call will have this side effect.
187 */ 187 */
188 if (firmware_has_feature(FW_FEATURE_PS3_LV1)) { 188 if (firmware_has_feature(FW_FEATURE_PS3_LV1)) {
189 u64 tmp; 189 u64 tmp, tmp2;
190 lv1_get_version_info(&tmp); 190 lv1_get_version_info(&tmp, &tmp2);
191 } 191 }
192 192
193 __hard_irq_enable(); 193 __hard_irq_enable();