mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
[SPARC64]: Add sun4v_cpu_qconf() hypervisor call.
Call it from register_one_mondo(). Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bc45e32e0f
commit
94f8762db9
3 changed files with 25 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue