[PATCH 4/4] ARM: omap2: restore OMAP4 barrier behaviour

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jul 16 06:54:13 PDT 2015


On Wed, Jul 15, 2015 at 11:48:54PM -0700, Tony Lindgren wrote:
> Hi,
> 
> * Russell King <rmk+kernel at arm.linux.org.uk> [150715 10:50]:
> > Restore the OMAP4 barrier behaviour using the new implementation which
> > allows multiplatform systems to hook into the mb() and wmb() ARM
> > implementations to perform any necessary additional barrier maintanence.
> 
> I'm getthing this with omap2plus_defconfig with the last patch
> applied:
> 
> arch/arm/mach-omap2/omap4-common.c: In function ‘omap4_sram_init’:
> arch/arm/mach-omap2/omap4-common.c:138:14: error: implicit declaration of function ‘of_get_named_gen_pool’ [-Werror=implicit-function-declaration]
>   sram_pool = of_get_named_gen_pool(np, "sram", 0);
>               ^
> arch/arm/mach-omap2/omap4-common.c:138:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
>   sram_pool = of_get_named_gen_pool(np, "sram", 0);
>             ^

I'd forgotten to merge in the merge window fixes for this... which have now
been lost.  This needs to become of_gen_pool_get() in 4.2-rc1 and later.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list