We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6277311 commit 95370b4Copy full SHA for 95370b4
arch/parisc/kernel/topology.c
@@ -16,17 +16,18 @@
16
#include <linux/cpu.h>
17
18
#include <asm/topology.h>
19
+#include <asm/sections.h>
20
21
static DEFINE_PER_CPU(struct cpu, cpu_devices);
22
-static int dualcores_found __initdata;
23
+static int dualcores_found;
24
25
/*
26
* store_cpu_topology is called at boot when only one cpu is running
27
* and with the mutex cpu_hotplug.lock locked, when several cpus have booted,
28
* which prevents simultaneous write access to cpu_topology array
29
*/
-void __init store_cpu_topology(unsigned int cpuid)
30
+void store_cpu_topology(unsigned int cpuid)
31
{
32
struct cpu_topology *cpuid_topo = &cpu_topology[cpuid];
33
struct cpuinfo_parisc *p;
0 commit comments