x86/build: Fix mkcapflags.sh bash-ism
authorSylvain BERTRAND <sylvain.bertrand@gmail.com>
Mon, 29 Dec 2014 15:43:24 +0000 (16:43 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 19 Feb 2015 01:21:00 +0000 (02:21 +0100)
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>
arch/x86/kernel/cpu/mkcapflags.sh

index 36d99a3..3f20710 100644 (file)
@@ -6,7 +6,7 @@
 IN=$1
 OUT=$2
 
-function dump_array()
+dump_array()
 {
        ARRAY=$1
        SIZE=$2