projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/base/cpu: crash data showing should depends on KEXEC_CORE
[platform/kernel/linux-starfive.git]
/
drivers
/
base
/
cpu.c
diff --git
a/drivers/base/cpu.c
b/drivers/base/cpu.c
index
9ea22e1
..
548491d
100644
(file)
--- 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 */
#endif /* CONFIG_ARCH_CPU_PROBE_RELEASE */
#endif /* CONFIG_HOTPLUG_CPU */
-#ifdef CONFIG_KEXEC
+#ifdef CONFIG_KEXEC
_CORE
#include <linux/kexec.h>
static ssize_t crash_notes_show(struct device *dev,
#include <linux/kexec.h>
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[] = {
#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[] = {
&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
&crash_note_cpu_attr_group,
#endif
NULL