X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fbase%2Fcpu.c;h=548491de818ef126f598eba06287bf7899418398;hb=83dd18e0b76fd346fd4753016ec00377bb636837;hp=9ea22e165acd679b1e6ef72433104bed858cfc22;hpb=727fb83765049981e342db4c5a8b51aca72201d8;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c index 9ea22e1..548491d 100644 --- a/drivers/base/cpu.c +++ b/drivers/base/cpu.c @@ -144,7 +144,7 @@ static DEVICE_ATTR(release, S_IWUSR, NULL, cpu_release_store); #endif /* CONFIG_ARCH_CPU_PROBE_RELEASE */ #endif /* CONFIG_HOTPLUG_CPU */ -#ifdef CONFIG_KEXEC +#ifdef CONFIG_KEXEC_CORE #include static ssize_t crash_notes_show(struct device *dev, @@ -189,14 +189,14 @@ static const struct attribute_group crash_note_cpu_attr_group = { #endif static const struct attribute_group *common_cpu_attr_groups[] = { -#ifdef CONFIG_KEXEC +#ifdef CONFIG_KEXEC_CORE &crash_note_cpu_attr_group, #endif NULL }; static const struct attribute_group *hotplugable_cpu_attr_groups[] = { -#ifdef CONFIG_KEXEC +#ifdef CONFIG_KEXEC_CORE &crash_note_cpu_attr_group, #endif NULL