Skip to content

Commit

Permalink
s390: make couple of functions and variables static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Mar 25, 2015
1 parent 3c1a3bc commit 3ddb1b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/s390/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3ddb1b7

Please sign in to comment.