sh: Fix up uninitialized variable use caught by gcc 4.4.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 24 Sep 2009 08:48:15 +0000 (17:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 24 Sep 2009 08:48:15 +0000 (17:48 +0900)
commit40258ee97d0d5e5c30a3d4b7acaf294fe82cd23f
treeed24df0faa1ee30229194e615545a494d17857f0
parent23c4c82171008c8b18d8627c9741cdd577631cea
sh: Fix up uninitialized variable use caught by gcc 4.4.

In the unaligned kernel exception fixup case the printk() was ordered
before the copy_from_user(), resulting in a nonsensical instruction
value. This fixes up the ordering properly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_32.c