summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mkcapflags.sh
diff options
context:
space:
mode:
authorSylvain BERTRAND <sylvain.bertrand@gmail.com>2014-12-29 16:43:24 +0100
committerIngo Molnar <mingo@kernel.org>2015-02-19 02:21:00 +0100
commite85bd9892c4f10fd20fc575e62327efb7c77015d (patch)
tree2339f77308b1e54b1308b637313e609a5cda15c5 /arch/x86/kernel/cpu/mkcapflags.sh
parent50849eefea3ba8aa6e540e0cbdc9533098f25656 (diff)
downloadlinux-e85bd9892c4f10fd20fc575e62327efb7c77015d.tar.bz2
x86/build: Fix mkcapflags.sh bash-ism
Chocked while compiling linux with dash shell instead of bash shell. See: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05 Signed-off-by: Sylvain BERTRAND <sylvain.bertrand@gmail.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20141229154324.GA27533@dhcppc1 Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/mkcapflags.sh')
-rw-r--r--arch/x86/kernel/cpu/mkcapflags.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mkcapflags.sh b/arch/x86/kernel/cpu/mkcapflags.sh
index 36d99a337b49..3f20710a5b23 100644
--- a/arch/x86/kernel/cpu/mkcapflags.sh
+++ b/arch/x86/kernel/cpu/mkcapflags.sh
@@ -6,7 +6,7 @@
IN=$1
OUT=$2
-function dump_array()
+dump_array()
{
ARRAY=$1
SIZE=$2