Skip to content

Commit

Permalink
x86, uv, uv3: Check current gru hub support for SGI UV3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Travis authored and H. Peter Anvin committed Feb 12, 2013
1 parent 0af6352 commit 385404e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/misc/sgi-gru/grufile.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ static int __init gru_init(void)
{
int ret;

if (!is_uv_system())
if (!is_uv_system() || (is_uvx_hub() && !is_uv2_hub()))
return 0;

#if defined CONFIG_IA64
Expand Down

0 comments on commit 385404e

Please sign in to comment.