summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/prom_irqtrans.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-01-06 21:51:26 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-06 21:51:26 +0100
commitff9aefbf4dab2c631a90f0319dfb316c6769d5a4 (patch)
tree190ec7c9ac28ac4bd47c56cece14d085755a63aa /arch/sparc/kernel/prom_irqtrans.c
parentsparc64: refactor code in viohs.c (diff)
downloadlinux-ff9aefbf4dab2c631a90f0319dfb316c6769d5a4.tar.xz
linux-ff9aefbf4dab2c631a90f0319dfb316c6769d5a4.zip
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>
Diffstat (limited to 'arch/sparc/kernel/prom_irqtrans.c')
0 files changed, 0 insertions, 0 deletions