|
@@ -212,8 +212,6 @@ static inline bool get_rdt_resources(void)
|
|
ret = true;
|
|
ret = true;
|
|
}
|
|
}
|
|
|
|
|
|
- rdt_init_padding();
|
|
|
|
-
|
|
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -410,6 +408,8 @@ static int __init intel_rdt_late_init(void)
|
|
if (!get_rdt_resources())
|
|
if (!get_rdt_resources())
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
|
|
|
|
|
|
+ rdt_init_padding();
|
|
|
|
+
|
|
state = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
|
|
state = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
|
|
"x86/rdt/cat:online:",
|
|
"x86/rdt/cat:online:",
|
|
intel_rdt_online_cpu, intel_rdt_offline_cpu);
|
|
intel_rdt_online_cpu, intel_rdt_offline_cpu);
|