aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r--arch/s390/kernel/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c
index c5cfb6185eac..8fdf08379ce9 100644
--- a/arch/s390/kernel/setup.c
+++ b/arch/s390/kernel/setup.c
@@ -86,6 +86,10 @@ volatile int __cpu_logical_map[NR_CPUS]; /* logical cpu to cpu address */
86int __initdata memory_end_set; 86int __initdata memory_end_set;
87unsigned long __initdata memory_end; 87unsigned long __initdata memory_end;
88 88
89/* An array with a pointer to the lowcore of every CPU. */
90struct _lowcore *lowcore_ptr[NR_CPUS];
91EXPORT_SYMBOL(lowcore_ptr);
92
89/* 93/*
90 * This is set up by the setup-routine at boot-time 94 * This is set up by the setup-routine at boot-time
91 * for S390 need to find out, what we have to setup 95 * for S390 need to find out, what we have to setup
@@ -434,6 +438,7 @@ setup_lowcore(void)
434 lc->vdso_per_cpu_data = (unsigned long) &lc->paste[0]; 438 lc->vdso_per_cpu_data = (unsigned long) &lc->paste[0];
435#endif 439#endif
436 set_prefix((u32)(unsigned long) lc); 440 set_prefix((u32)(unsigned long) lc);
441 lowcore_ptr[0] = lc;
437} 442}
438 443
439static void __init 444static void __init