]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: elf2ecoff: Rewrite main processing loop to switch.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 2 Feb 2015 00:01:46 +0000 (01:01 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 4 Feb 2015 13:42:06 +0000 (14:42 +0100)
commit0cdcb3d633963ebc14247b2979e77a88b6ce5639
treebcbe5d1db72d975bcdd7339b33f7e9c10e808c5e
parent0b3a6b9636057a385cbe2bc57f3e6a4451d1e3db
MIPS: elf2ecoff: Rewrite main processing loop to switch.

The if construct was getting hard to read and would be getting even more
complex with the next bug fix.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/elf2ecoff.c