diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2015-03-16 11:44:10 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-03-25 10:49:45 (GMT) |
commit | 3ddb1b7578040ef114747e30f277cfea6286c5da (patch) | |
tree | 7c80c668d1d4f6fca513e6afce6fd29d3ee5a9d2 | |
parent | 3c1a3bcea945f9d59ab1fe3d319c67c0ff56100f (diff) | |
download | linux-3ddb1b7578040ef114747e30f277cfea6286c5da.tar.xz |
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>
-rw-r--r-- | arch/s390/kernel/topology.c | 2 | ||||
-rw-r--r-- | arch/s390/mm/mmap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c index 14da43b..5728c5b 100644 --- a/arch/s390/kernel/topology.c +++ b/arch/s390/kernel/topology.c @@ -421,7 +421,7 @@ int topology_cpu_init(struct cpu *cpu) return sysfs_create_group(&cpu->dev.kobj, &topology_cpu_attr_group); } -const struct cpumask *cpu_thread_mask(int cpu) +static const struct cpumask *cpu_thread_mask(int cpu) { return &per_cpu(cpu_topology, cpu).thread_mask; } diff --git a/arch/s390/mm/mmap.c b/arch/s390/mm/mmap.c index 2e83787..b68af05 100644 --- a/arch/s390/mm/mmap.c +++ b/arch/s390/mm/mmap.c @@ -32,7 +32,7 @@ #include <asm/pgalloc.h> unsigned long mmap_rnd_mask; -unsigned long mmap_align_mask; +static unsigned long mmap_align_mask; static unsigned long stack_maxrandom_size(void) { |