Re: [GIT PULL] s390 patches for the 3.10-rc6

From: Heiko Carstens
Date: Tue Jun 18 2013 - 07:19:20 EST


On Tue, Jun 18, 2013 at 12:08:51PM +0200, Geert Uytterhoeven wrote:
> On Thu, Jun 13, 2013 at 4:47 PM, Martin Schwidefsky
> allnoconfig:
>
> arch/s390/kernel/irq.c:315:6: error: expected identifier or '(' before '__asm__'
> http://kisskb.ellerman.id.au/kisskb/buildresult/8987667/
>
> The function is expanded to:
>
> void __asm__ __volatile__("": : :"memory")
> {
>
> }
>
> include/linux/hardirq.h: # define synchronize_irq(irq) barrier()
> include/linux/compiler-gcc.h: #define barrier() __asm__
> __volatile__("": : :"memory")
>
> Turning synchronize_irq() into a static inline function doesn't help as then
> it becomes a redefinition.

We received a patch from Ben which fixes this: