diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-16 17:26:53 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:13:16 -0500 |
commit | 94f8762db9a80ed34252e9fe5fa38be87bb7826b (patch) | |
tree | 22279c62d2d4d583c64f1d2c6122f4eb98b429a6 /arch/sparc64/kernel/entry.S | |
parent | bc45e32e0fbf661d0c5c5b9c981bc0fe5da4901f (diff) |
[SPARC64]: Add sun4v_cpu_qconf() hypervisor call.
Call it from register_one_mondo().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/entry.S')
-rw-r--r-- | arch/sparc64/kernel/entry.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S index bf40b065bcc0..f5c8a293979f 100644 --- a/arch/sparc64/kernel/entry.S +++ b/arch/sparc64/kernel/entry.S | |||
@@ -1772,3 +1772,15 @@ sun4v_intr_settarget: | |||
1772 | retl | 1772 | retl |
1773 | nop | 1773 | nop |
1774 | 1774 | ||
1775 | /* %o0: type | ||
1776 | * %o1: queue paddr | ||
1777 | * %o2: num queue entries | ||
1778 | * | ||
1779 | * returns %o0: status | ||
1780 | */ | ||
1781 | .globl sun4v_cpu_qconf | ||
1782 | sun4v_cpu_qconf: | ||
1783 | mov HV_FAST_CPU_QCONF, %o5 | ||
1784 | ta HV_FAST_TRAP | ||
1785 | retl | ||
1786 | nop | ||