diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-29 17:03:42 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-29 17:03:42 -0400 |
| commit | 6e98ee75c3ab99db48ecc0615c2246dc193111a9 (patch) | |
| tree | afdad9dc968ebef3787e7dc16a41290a525f18f5 /arch/sparc64/kernel/hvapi.c | |
| parent | 486b4ce13221aa6cd0cbc9fff6993f444d8a52b5 (diff) | |
| parent | 7db35f31cbb8ca1dbaba03d74b7db79ace084358 (diff) | |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC64]: Fill holes in hypervisor APIs and fix KTSB registry.
[SPARC64]: Fix two bugs wrt. kernel 4MB TSB.
[SPARC]: Mark as emulating cmpxchg, add appropriate depends for DRM.
[SPARC]: Emulate cmpxchg like parisc
[SPARC64]: Fix _PAGE_EXEC_4U check in sun4u I-TLB miss handler.
[SPARC]: Linux always started with 9600 8N1
[SPARC64]: arch/sparc64/time.c doesn't compile on Ultra 1 (no PCI)
[SPARC64]: Eliminate NR_CPUS limitations.
[SPARC64]: Use machine description and OBP properly for cpu probing.
[SPARC64]: Negotiate hypervisor API for PCI services.
[SPARC64]: Report proper system soft state to the hypervisor.
[SPARC64]: Fix typo in sun4v_hvapi_register error handling.
[SCSI] ESP: Kill SCSI_ESP_CORE and link directly just like jazz_esp
[SCSI] jazz_esp: Converted to use esp_core.
[SPARC64]: PCI device scan is way too verbose by default.
[SERIAL] sunzilog: section mismatch fix
[SPARC32]: Removes mismatch section warnigs in sparc time.c file
[SPARC64]: Don't be picky about virtual-dma values on sun4v.
[SPARC64]: Kill unused DIE_PAGE_FAULT enum value.
[SCSI] pluto: Use wait_for_completion_timeout.
Diffstat (limited to 'arch/sparc64/kernel/hvapi.c')
| -rw-r--r-- | arch/sparc64/kernel/hvapi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/hvapi.c b/arch/sparc64/kernel/hvapi.c index f03ffc829c7a..f34f5d6181ef 100644 --- a/arch/sparc64/kernel/hvapi.c +++ b/arch/sparc64/kernel/hvapi.c | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | #include <asm/hypervisor.h> | 10 | #include <asm/hypervisor.h> |
| 11 | #include <asm/oplib.h> | 11 | #include <asm/oplib.h> |
| 12 | #include <asm/sstate.h> | ||
| 12 | 13 | ||
| 13 | /* If the hypervisor indicates that the API setting | 14 | /* If the hypervisor indicates that the API setting |
| 14 | * calls are unsupported, by returning HV_EBADTRAP or | 15 | * calls are unsupported, by returning HV_EBADTRAP or |
| @@ -107,7 +108,7 @@ int sun4v_hvapi_register(unsigned long group, unsigned long major, | |||
| 107 | p->minor = actual_minor; | 108 | p->minor = actual_minor; |
| 108 | ret = 0; | 109 | ret = 0; |
| 109 | } else if (hv_ret == HV_EBADTRAP || | 110 | } else if (hv_ret == HV_EBADTRAP || |
| 110 | HV_ENOTSUPPORTED) { | 111 | hv_ret == HV_ENOTSUPPORTED) { |
| 111 | if (p->flags & FLAG_PRE_API) { | 112 | if (p->flags & FLAG_PRE_API) { |
| 112 | if (major == 1) { | 113 | if (major == 1) { |
| 113 | p->major = 1; | 114 | p->major = 1; |
| @@ -179,6 +180,8 @@ void __init sun4v_hvapi_init(void) | |||
| 179 | if (sun4v_hvapi_register(group, major, &minor)) | 180 | if (sun4v_hvapi_register(group, major, &minor)) |
| 180 | goto bad; | 181 | goto bad; |
| 181 | 182 | ||
| 183 | sun4v_sstate_init(); | ||
| 184 | |||
| 182 | return; | 185 | return; |
| 183 | 186 | ||
| 184 | bad: | 187 | bad: |
