|
|
@@ -653,7 +653,8 @@ static int cacheinfo_cpu_pre_down(unsigned int cpu)
|
|
|
|
|
|
static int __init cacheinfo_sysfs_init(void)
|
|
|
{
|
|
|
- return cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "base/cacheinfo:online",
|
|
|
+ return cpuhp_setup_state(CPUHP_AP_BASE_CACHEINFO_ONLINE,
|
|
|
+ "base/cacheinfo:online",
|
|
|
cacheinfo_cpu_online, cacheinfo_cpu_pre_down);
|
|
|
}
|
|
|
device_initcall(cacheinfo_sysfs_init);
|