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 /include/asm-sparc64/hypervisor.h | |
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 'include/asm-sparc64/hypervisor.h')
-rw-r--r-- | include/asm-sparc64/hypervisor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sparc64/hypervisor.h b/include/asm-sparc64/hypervisor.h index f14992ab7fe..cd5fbcd9556 100644 --- a/include/asm-sparc64/hypervisor.h +++ b/include/asm-sparc64/hypervisor.h | |||
@@ -301,6 +301,12 @@ | |||
301 | #define HV_CPU_QUEUE_RES_ERROR 0x3e | 301 | #define HV_CPU_QUEUE_RES_ERROR 0x3e |
302 | #define HV_CPU_QUEUE_NONRES_ERROR 0x3f | 302 | #define HV_CPU_QUEUE_NONRES_ERROR 0x3f |
303 | 303 | ||
304 | #ifndef __ASSEMBLY__ | ||
305 | extern unsigned long sun4v_cpu_qconf(unsigned long type, | ||
306 | unsigned long queue_paddr, | ||
307 | unsigned long num_queue_entries); | ||
308 | #endif | ||
309 | |||
304 | /* cpu_qinfo() | 310 | /* cpu_qinfo() |
305 | * TRAP: HV_FAST_TRAP | 311 | * TRAP: HV_FAST_TRAP |
306 | * FUNCTION: HV_FAST_CPU_QINFO | 312 | * FUNCTION: HV_FAST_CPU_QINFO |