diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-01-06 21:52:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-06 21:52:41 +0100 |
commit | 0157141ae29d7a0998b9f040e577895980430d89 (patch) | |
tree | 8754a2981beca17575441b459aef718386364f8a /arch/sparc/kernel/prom_irqtrans.c | |
parent | sparc64: refactor code in init_64.c (diff) | |
download | linux-0157141ae29d7a0998b9f040e577895980430d89.tar.xz linux-0157141ae29d7a0998b9f040e577895980430d89.zip |
sparc: refactor code in fault_32.c
The sparc 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 a warning:
arch/sparc/mm/fault_32.c: In function `do_sparc_fault':
arch/sparc/mm/fault_32.c:176: warning: 'fixup' 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
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