asm-generic: fncpy: Add function copying macros
[firefly-linux-kernel-4.4.55.git] / arch / arm / plat-omap / sram.c
index a5bc92d7e4765b81315379c41618fff7f84cbec2..90ccd7463182570cf8f980a295ee75fd2b560703 100644 (file)
@@ -54,7 +54,7 @@ void *omap_sram_push_address(unsigned long size)
        }
 
        new_ceil -= size;
-       new_ceil = ROUND_DOWN(new_ceil, FNCPY_ALIGN);
+       new_ceil = ROUND_DOWN(new_ceil, 1 << ARCH_FNCPY_ALIGN);
        omap_sram_ceil = IOMEM(new_ceil);
 
        return (void *)omap_sram_ceil;