summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/entry.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-16 14:26:53 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:13:16 -0800
commit94f8762db9a80ed34252e9fe5fa38be87bb7826b (patch)
tree22279c62d2d4d583c64f1d2c6122f4eb98b429a6 /arch/sparc64/kernel/entry.S
parentbc45e32e0fbf661d0c5c5b9c981bc0fe5da4901f (diff)
downloadop-kernel-dev-94f8762db9a80ed34252e9fe5fa38be87bb7826b.zip
op-kernel-dev-94f8762db9a80ed34252e9fe5fa38be87bb7826b.tar.gz
[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.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S
index bf40b06..f5c8a29 100644
--- a/arch/sparc64/kernel/entry.S
+++ b/arch/sparc64/kernel/entry.S
@@ -1772,3 +1772,15 @@ sun4v_intr_settarget:
retl
nop
+ /* %o0: type
+ * %o1: queue paddr
+ * %o2: num queue entries
+ *
+ * returns %o0: status
+ */
+ .globl sun4v_cpu_qconf
+sun4v_cpu_qconf:
+ mov HV_FAST_CPU_QCONF, %o5
+ ta HV_FAST_TRAP
+ retl
+ nop
OpenPOWER on IntegriCloud