kernel-ark/arch/sparc
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
..
boot sparc,sparc64: unify boot/ 2008-12-04 09:17:21 -08:00
configs sparc: Update 64-bit defconfig. 2009-01-02 21:54:25 -08:00
include/asm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2009-01-05 18:45:06 -08:00
kernel sparc64: refactor code in viohs.c 2009-01-06 12:46:46 -08:00
lib sparc: Commonize memcmp assembler. 2008-12-09 04:09:07 -08:00
math-emu sparc64: unify math-emu 2008-12-04 09:16:56 -08:00
mm sparc64: refactor code in init_64.c 2009-01-06 12:51:26 -08:00
oprofile sparc64: Provide oprofile pseudo-NMI on Niagara. 2008-12-04 09:17:10 -08:00
prom sparc: Use sparc64 version of prom/printf.c 2008-12-08 01:00:14 -08:00
Kconfig sparc: Use 64BIT config entry 2009-01-04 23:03:10 -08:00
Kconfig.debug sparc: unify Kconfig.debug 2008-12-04 09:16:48 -08:00
Makefile sparc: unify kernel/init_task 2008-12-04 13:28:09 -08:00