From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@armlinux.org.uk (Russell King - ARM Linux) Date: Tue, 22 Nov 2016 10:03:45 +0000 Subject: [RFC PATCH 06/11] ARM: tlbflush: drop dependency on CONFIG_SMP In-Reply-To: <1479806768-39911-7-git-send-email-vladimir.murzin@arm.com> References: <1479806768-39911-1-git-send-email-vladimir.murzin@arm.com> <1479806768-39911-7-git-send-email-vladimir.murzin@arm.com> Message-ID: <20161122100345.GV1041@n2100.armlinux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Nov 22, 2016 at 09:26:03AM +0000, Vladimir Murzin wrote: > It can be referenced in UP case as well. What's missing is an explanation of why you want this change. Exposing the local_* stuff doesn't make sense for UP. > Cc: Russell King > Signed-off-by: Vladimir Murzin > --- > arch/arm/include/asm/tlbflush.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/include/asm/tlbflush.h b/arch/arm/include/asm/tlbflush.h > index def9e57..d9a6e2e 100644 > --- a/arch/arm/include/asm/tlbflush.h > +++ b/arch/arm/include/asm/tlbflush.h > @@ -641,7 +641,7 @@ static inline void update_mmu_cache(struct vm_area_struct *vma, > > #endif > > -#elif defined(CONFIG_SMP) /* !CONFIG_MMU */ > +#else /* !CONFIG_MMU */ > > #ifndef __ASSEMBLY__ > > -- > 1.7.9.5 > -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.