Skip to content

Commit 385404e

Browse files
Mike TravisH. Peter Anvin
authored andcommitted
x86, uv, uv3: Check current gru hub support for SGI UV3
This patch checks current hub support to avoid panicing the system until all the GRU changes for UV3+ are in place. Signed-off-by: Mike Travis <travis@sgi.com> Link: http://lkml.kernel.org/r/20130211194509.035828372@gulag1.americas.sgi.com Acked-by: Dimitri Sivanich <sivanich@sgi.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
1 parent 0af6352 commit 385404e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/misc/sgi-gru/grufile.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ static int __init gru_init(void)
517517
{
518518
int ret;
519519

520-
if (!is_uv_system())
520+
if (!is_uv_system() || (is_uvx_hub() && !is_uv2_hub()))
521521
return 0;
522522

523523
#if defined CONFIG_IA64

0 commit comments

Comments
 (0)