diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2015-03-16 07:44:10 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-03-25 06:49:45 -0400 |
commit | 3ddb1b7578040ef114747e30f277cfea6286c5da (patch) | |
tree | 7c80c668d1d4f6fca513e6afce6fd29d3ee5a9d2 /arch/s390/kernel | |
parent | 3c1a3bcea945f9d59ab1fe3d319c67c0ff56100f (diff) |
s390: make couple of functions and variables static
As reported by sparse these can and should be static.
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')
-rw-r--r-- | arch/s390/kernel/topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c index 14da43b801d9..5728c5bd44a8 100644 --- a/arch/s390/kernel/topology.c +++ b/arch/s390/kernel/topology.c | |||
@@ -421,7 +421,7 @@ int topology_cpu_init(struct cpu *cpu) | |||
421 | return sysfs_create_group(&cpu->dev.kobj, &topology_cpu_attr_group); | 421 | return sysfs_create_group(&cpu->dev.kobj, &topology_cpu_attr_group); |
422 | } | 422 | } |
423 | 423 | ||
424 | const struct cpumask *cpu_thread_mask(int cpu) | 424 | static const struct cpumask *cpu_thread_mask(int cpu) |
425 | { | 425 | { |
426 | return &per_cpu(cpu_topology, cpu).thread_mask; | 426 | return &per_cpu(cpu_topology, cpu).thread_mask; |
427 | } | 427 | } |