linux/arch/sparc/mm
Sam Ravnborg ff9aefbf4d sparc64: refactor code in init_64.c
The sparc64 allmodconfig build broke due to enabling of the
branch_tracer that does some very clever things with
all if conditions. This caused my gcc 3.4.5 to be so confused that
it emitted two warnings:

arch/sparc/mm/init_64.c: In function `update_mmu_cache':
arch/sparc/mm/init_64.c:271: warning: 'pg_flags' might be used uninitialized in this function
arch/sparc/mm/init_64.c:272: warning: 'page' might be used uninitialized in this function

And with -Werror this broke the build.

Refactor code so it:
1) becomes more readable
2) no longer emit a warning with the branch_tracer enabled

The refactoring uses a small helper function (flush_dcache()).

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-06 12:51:26 -08:00
..
btfixup.c sparc: remove CONFIG_SUN4 2008-08-31 20:59:37 -07:00
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault_32.c sparc: prepare mm/ for unification 2008-12-04 09:16:58 -08:00
fault_64.c sparc,sparc64: unify mm/ 2008-12-04 09:16:59 -08:00
generic_32.c sparc: prepare mm/ for unification 2008-12-04 09:16:58 -08:00
generic_64.c sparc,sparc64: unify mm/ 2008-12-04 09:16:59 -08:00
highmem.c [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
hugetlbpage.c sparc,sparc64: unify mm/ 2008-12-04 09:16:59 -08:00
hypersparc.S sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
init_32.c sparc: unify sections.h 2008-12-27 00:35:12 -08:00
init_64.c sparc64: refactor code in init_64.c 2009-01-06 12:51:26 -08:00
init_64.h sparc,sparc64: unify mm/ 2008-12-04 09:16:59 -08:00
io-unit.c sparc: use sparc64 version of scatterlist.h 2008-12-11 20:24:58 -08:00
iommu.c sparc: use sparc64 version of scatterlist.h 2008-12-11 20:24:58 -08:00
loadmmu.c sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
Makefile sparc,sparc64: unify mm/ 2008-12-04 09:16:59 -08:00
nosun4c.c sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
srmmu.c sparc: drop SUN_IO 2008-12-27 00:55:45 -08:00
sun4c.c sparc: unify sections.h 2008-12-27 00:35:12 -08:00
swift.S sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
tlb.c sparc,sparc64: unify mm/ 2008-12-04 09:16:59 -08:00
tsb.c sparc64: Add tsb-ratio sysctl. 2008-12-04 09:16:59 -08:00
tsunami.S sparc/mm/: possible cleanups 2008-07-17 21:38:01 -07:00
ultra.S sparc64: Make %pil level 15 a pseudo-NMI. 2008-12-04 09:17:02 -08:00
viking.S sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00