Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/migrate: mark unmap_and_move() "noinline" to avoid ICE in gcc 4.7.3
With gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1) : mm/migrate.c: In function `migrate_pages': mm/migrate.c:1148:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:13500 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccPoM1tr.out file, please attach this to your bugreport. make[1]: *** [mm/migrate.o] Error 1 make: *** [mm/migrate.o] Error 2 Mark unmap_and_move() (which is used in a single place only) "noinline" to work around this compiler bug. [[email protected]: make it conditional on gcc-4.7.3 and arm] [[email protected]: fine-tune compiler versions] [[email protected]: fix comment] Signed-off-by: Geert Uytterhoeven <[email protected]> Reported-by: Kevin Hilman <[email protected]> Cc: Marc Zyngier <[email protected]> Tested-by: Kevin Hilman <[email protected]> Tested-by: Lina Iyer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information