diff options
author | Andrew Banman <abanman@sgi.com> | 2016-09-21 12:09:18 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-09-22 05:16:14 -0400 |
commit | 58d4ab46f21e7e800a7597f271a23ec602796247 (patch) | |
tree | dca68525203b252a30da924d87c13cd4a7504fe5 /arch/x86 | |
parent | 21e3f12fc0e12181102ad0400bcb50bc7a027106 (diff) |
x86/platform/uv/BAU: Populate ->uvhub_version with UV4 version information
Signed-off-by: Andrew Banman <abanman@sgi.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Mike Travis <travis@sgi.com>
Acked-by: Dimitri Sivanich <sivanich@sgi.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: akpm@linux-foundation.org
Cc: rja@sgi.com
Link: http://lkml.kernel.org/r/1474474161-265604-8-git-send-email-abanman@sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/platform/uv/tlb_uv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 030d452c0b68..ddbeb1679b1a 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c | |||
@@ -2044,8 +2044,10 @@ static int scan_sock(struct socket_desc *sdp, struct uvhub_desc *bdp, | |||
2044 | bcp->uvhub_version = 2; | 2044 | bcp->uvhub_version = 2; |
2045 | else if (is_uv3_hub()) | 2045 | else if (is_uv3_hub()) |
2046 | bcp->uvhub_version = 3; | 2046 | bcp->uvhub_version = 3; |
2047 | else if (is_uv4_hub()) | ||
2048 | bcp->uvhub_version = 4; | ||
2047 | else { | 2049 | else { |
2048 | pr_emerg("uvhub version not 1, 2, or 3\n"); | 2050 | pr_emerg("uvhub version not 1, 2, 3, or 4\n"); |
2049 | return 1; | 2051 | return 1; |
2050 | } | 2052 | } |
2051 | bcp->uvhub_master = *hmasterp; | 2053 | bcp->uvhub_master = *hmasterp; |