]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96dfd40b03fa8acad3b8cd890f76ec05564f8292
treeed24df0faa1ee30229194e615545a494d17857f0
parent22b4a9a73303ad6b4cdfccfd401dab2c51c333bb
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