summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/topology.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-01-07 13:58:38 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-01-08 10:57:10 +0100
commit80020fbd65c17d3d9e7d80cfd3fa4c57ae7ff765 (patch)
treee84eb9471ab95a9bc5ff913ac2f43c72675404fe /arch/s390/kernel/topology.c
parent0872922f5dc24783101a2dd111ee406ea965a094 (diff)
downloadop-kernel-dev-80020fbd65c17d3d9e7d80cfd3fa4c57ae7ff765.zip
op-kernel-dev-80020fbd65c17d3d9e7d80cfd3fa4c57ae7ff765.tar.gz
s390/topology: export cpu_topology
Export cpu_topology symbol, so it's available for modules. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/topology.c')
-rw-r--r--arch/s390/kernel/topology.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c
index f1aba87..4b2e3e3 100644
--- a/arch/s390/kernel/topology.c
+++ b/arch/s390/kernel/topology.c
@@ -10,6 +10,7 @@
#include <linux/bootmem.h>
#include <linux/cpuset.h>
#include <linux/device.h>
+#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
@@ -42,6 +43,7 @@ static struct mask_info socket_info;
static struct mask_info book_info;
struct cpu_topology_s390 cpu_topology[NR_CPUS];
+EXPORT_SYMBOL_GPL(cpu_topology);
static cpumask_t cpu_group_map(struct mask_info *info, unsigned int cpu)
{
OpenPOWER on IntegriCloud