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 @@ -1303,7 +1303,8 @@ static int __init decode_uv_systab(void)
1303
1303
struct uv_systab * st ;
1304
1304
int i ;
1305
1305
1306
- if (uv_hub_info -> hub_revision < UV4_HUB_REVISION_BASE )
1306
+ /* If system is uv3 or lower, there is no extended UVsystab */
1307
+ if (is_uv_hubbed (0xfffffe ) < uv (4 ) && is_uv_hubless (0xfffffe ) < uv (4 ))
1307
1308
return 0 ; /* No extended UVsystab required */
1308
1309
1309
1310
st = uv_systab ;
@@ -1554,8 +1555,15 @@ static __init int uv_system_init_hubless(void)
1554
1555
1555
1556
/* Init kernel/BIOS interface */
1556
1557
rc = uv_bios_init ();
1558
+ if (rc < 0 )
1559
+ return rc ;
1557
1560
1558
- /* Create user access node if UVsystab available */
1561
+ /* Process UVsystab */
1562
+ rc = decode_uv_systab ();
1563
+ if (rc < 0 )
1564
+ return rc ;
1565
+
1566
+ /* Create user access node */
1559
1567
if (rc >= 0 )
1560
1568
uv_setup_proc_files (1 );
1561
1569
You can’t perform that action at this time.
0 commit comments