[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161216105634.235457-6-arnd@arndb.de>
Date: Fri, 16 Dec 2016 11:56:26 +0100
From: Arnd Bergmann <arnd@...db.de>
To: linux-arch@...r.kernel.org
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...r.kernel.org,
Russell King <rmk+kernel@...linux.org.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
kernel-build-reports@...ts.linaro.org,
kvmarm@...ts.cs.columbia.edu, Arnd Bergmann <arnd@...db.de>
Subject: [PATCH 05/13] clk: pxa: fix gcc-4.4 build
With gcc-4.4 and earlier, the asm statement must not end in ':', or we
get this build error:
drivers/clk/pxa/clk-pxa.c: In function 'pxa2xx_core_turbo_switch':
drivers/clk/pxa/clk-pxa.c:152: error: expected string literal before ')' token
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
drivers/clk/pxa/clk-pxa.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/clk/pxa/clk-pxa.c b/drivers/clk/pxa/clk-pxa.c
index 74f64c3c4290..626ec5613bb1 100644
--- a/drivers/clk/pxa/clk-pxa.c
+++ b/drivers/clk/pxa/clk-pxa.c
@@ -148,8 +148,7 @@ void pxa2xx_core_turbo_switch(bool on)
"2: b 1b\n"
"3: nop\n"
: "=&r" (unused)
- : "r" (clkcfg)
- : );
+ : "r" (clkcfg));
local_irq_restore(flags);
}
--
2.9.0
Powered by blists - more mailing lists