diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-10 01:57:21 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:12:14 -0500 |
commit | 164c220fa3947abbada65329d168f421b461a2a7 (patch) | |
tree | 1a10418ccf896f1f9209c2206bedf87915b63bfd /arch/sparc64/kernel/irq.c | |
parent | dedacf623283cb24933ec9f7d5bf539f19173cd4 (diff) |
[SPARC64]: Fix hypervisor call arg passing.
Function goes in %o5, args go in %o0 --> %o5.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/irq.c')
-rw-r--r-- | arch/sparc64/kernel/irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index 1f6455503f24..c5dd6daf127f 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c | |||
@@ -863,10 +863,10 @@ void init_irqwork_curcpu(void) | |||
863 | 863 | ||
864 | static void __cpuinit init_one_mondo(unsigned long *pa_ptr, unsigned long type) | 864 | static void __cpuinit init_one_mondo(unsigned long *pa_ptr, unsigned long type) |
865 | { | 865 | { |
866 | register unsigned long func __asm__("%o0"); | 866 | register unsigned long func __asm__("%o5"); |
867 | register unsigned long arg0 __asm__("%o1"); | 867 | register unsigned long arg0 __asm__("%o0"); |
868 | register unsigned long arg1 __asm__("%o2"); | 868 | register unsigned long arg1 __asm__("%o1"); |
869 | register unsigned long arg2 __asm__("%o3"); | 869 | register unsigned long arg2 __asm__("%o2"); |
870 | unsigned long page = get_zeroed_page(GFP_ATOMIC); | 870 | unsigned long page = get_zeroed_page(GFP_ATOMIC); |
871 | 871 | ||
872 | if (!page) { | 872 | if (!page) { |