Re: [PATCH 03/11] avr32: fix nop compile fails from system.h splitup

From: Paul Gortmaker
Date: Mon Apr 02 2012 - 15:11:47 EST


On 12-04-02 01:47 AM, David Howells wrote:
> Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote:
>
>> To fix:
>>
>> In file included from kernel/exit.c:61:
>> arch/avr32/include/asm/mmu_context.h: In function 'enable_mmu':
>> arch/avr32/include/asm/mmu_context.h:135: error: implicit
>> declaration of function 'nop'
>
> Better would be to move the definition of nop() into asm/barrier.h to be
> consistent with other arches.

That does seem to make sense. But just to confirm, then I'd end up
deleting the new file, arch/avr32/include/asm/special_insns.h

------------
commit ae473946586680b01c13975a3b674de23ad7c93e
Author: David Howells <dhowells@xxxxxxxxxx>
Date: Wed Mar 28 18:30:01 2012 +0100

Disintegrate asm/system.h for AVR32

Disintegrate asm/system.h for AVR32. This has not been compiled at all.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
cc: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>

:000000 100644 0000000... f922218... A arch/avr32/include/asm/special_insns.h
------------

...since it only contains the nop definition.

Is that what you had in mind, or is some other content going to
be moved there at a later time?

Thanks,
Paul.

>
> David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/