summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller2006-02-16 23:26:53 +0100
committerDavid S. Miller2006-03-20 10:13:16 +0100
commit94f8762db9a80ed34252e9fe5fa38be87bb7826b (patch)
tree22279c62d2d4d583c64f1d2c6122f4eb98b429a6 /include
parent[SPARC]: Kill off these __put_user_ret things. (diff)
downloadkernel-qcow2-linux-94f8762db9a80ed34252e9fe5fa38be87bb7826b.tar.gz
kernel-qcow2-linux-94f8762db9a80ed34252e9fe5fa38be87bb7826b.tar.xz
kernel-qcow2-linux-94f8762db9a80ed34252e9fe5fa38be87bb7826b.zip
[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 'include')
-rw-r--r--include/asm-sparc64/hypervisor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sparc64/hypervisor.h b/include/asm-sparc64/hypervisor.h
index f14992ab7fec..cd5fbcd9556e 100644
--- a/include/asm-sparc64/hypervisor.h
+++ b/include/asm-sparc64/hypervisor.h
@@ -301,6 +301,12 @@
#define HV_CPU_QUEUE_RES_ERROR 0x3e
#define HV_CPU_QUEUE_NONRES_ERROR 0x3f
+#ifndef __ASSEMBLY__
+extern unsigned long sun4v_cpu_qconf(unsigned long type,
+ unsigned long queue_paddr,
+ unsigned long num_queue_entries);
+#endif
+
/* cpu_qinfo()
* TRAP: HV_FAST_TRAP
* FUNCTION: HV_FAST_CPU_QINFO