From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH v2] avr32: fix nop compile fails from system.h split up Date: Wed, 04 Apr 2012 05:01:41 +0100 Message-ID: <12149.1333512101@redhat.com> References: <1333494844-3802-1-git-send-email-paul.gortmaker@windriver.com> Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44359 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750824Ab2DDEBy (ORCPT ); Wed, 4 Apr 2012 00:01:54 -0400 In-Reply-To: <1333494844-3802-1-git-send-email-paul.gortmaker@windriver.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Paul Gortmaker Cc: dhowells@redhat.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, Haavard Skinnemoen , Hans-Christian Egtvedt Paul Gortmaker 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' > > It needs an include of the new file created in: > > commit ae473946586680b01c13975a3b674de23ad7c93e > > "Disintegrate asm/system.h for AVR32" > > But since that file only contains "nop", and since other > arch already have precedent of putting nop in asm/barrier.h > we should just delete the new file and put nop in barrier.h > > Suggested-by: David Howells > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > Signed-off-by: Paul Gortmaker Acked-by: David Howells