aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-03-29 22:50:02 +0000
committerRich Felker <dalias@libc.org>2016-03-30 00:47:49 +0000
commitccc7d5a1cdae78ccd623540dc87e281135a1c053 (patch)
tree8d7c2b1caf8f488f27cccc8039b2a8447fb28135 /arch/sh/include
parentsh: fix smp-shx3 build regression from removal of arch localtimer (diff)
downloadlinux-dev-ccc7d5a1cdae78ccd623540dc87e281135a1c053.tar.xz
linux-dev-ccc7d5a1cdae78ccd623540dc87e281135a1c053.zip
sh: fix function signature of cpu_coregroup_mask to match pointer type
The signedness mismatch of the argument type produces an error compiling kernel/sched/core.c with -Werror=incompatible-pointer-types, which is now used by default. Fixes: ea8daa7b9784 "kbuild: Add option to turn incompatible pointer check into error" Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/topology.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/topology.h b/arch/sh/include/asm/topology.h
index b0a282d65f6a..358e3f516ef6 100644
--- a/arch/sh/include/asm/topology.h
+++ b/arch/sh/include/asm/topology.h
@@ -17,7 +17,7 @@
#define mc_capable() (1)
-const struct cpumask *cpu_coregroup_mask(unsigned int cpu);
+const struct cpumask *cpu_coregroup_mask(int cpu);
extern cpumask_t cpu_core_map[NR_CPUS];