File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1330,7 +1330,8 @@ static int __init decode_uv_systab(void)
1330
1330
struct uv_systab * st ;
1331
1331
int i ;
1332
1332
1333
- if (uv_hub_info -> hub_revision < UV4_HUB_REVISION_BASE )
1333
+ /* If system is uv3 or lower, there is no extended UVsystab */
1334
+ if (is_uv_hubbed (0xfffffe ) < uv (4 ) && is_uv_hubless (0xfffffe ) < uv (4 ))
1334
1335
return 0 ; /* No extended UVsystab required */
1335
1336
1336
1337
st = uv_systab ;
@@ -1581,8 +1582,15 @@ static __init int uv_system_init_hubless(void)
1581
1582
1582
1583
/* Init kernel/BIOS interface */
1583
1584
rc = uv_bios_init ();
1585
+ if (rc < 0 )
1586
+ return rc ;
1584
1587
1585
- /* Create user access node if UVsystab available */
1588
+ /* Process UVsystab */
1589
+ rc = decode_uv_systab ();
1590
+ if (rc < 0 )
1591
+ return rc ;
1592
+
1593
+ /* Create user access node */
1586
1594
if (rc >= 0 )
1587
1595
uv_setup_proc_files (1 );
1588
1596
You can’t perform that action at this time.
0 commit comments