diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2012-02-02 15:03:55 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-14 20:42:42 +0100 |
commit | 2ec1fc4e169acc0b8d6733ff028fd52e766773d9 (patch) | |
tree | 62c8f98055416777963a1465227e0df434db1b9e /arch/arm/mach-omap2/io.c | |
parent | ARM: OMAP2xxx: PM: fix OMAP2xxx-specific UART idle bug in v3.3 (diff) | |
download | linux-2ec1fc4e169acc0b8d6733ff028fd52e766773d9.tar.xz linux-2ec1fc4e169acc0b8d6733ff028fd52e766773d9.zip |
ARM: OMAP4: Move the barrier memboclk_steal() as part of reserve callback
arm_memblock_steal() is not suppose to be used outside ->reserve callback.
OMAP barrier errata code was using it outside reserve callback and hence
it was broken.
Move the allocation as part of ->reserve callback to fix the it.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 3f174d51f67f..f64aa79a7869 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c @@ -307,6 +307,7 @@ void __init omapam33xx_map_common_io(void) void __init omap44xx_map_common_io(void) { iotable_init(omap44xx_io_desc, ARRAY_SIZE(omap44xx_io_desc)); + omap_barriers_init(); } #endif |