[POWERPC] Clean up pmac_backlight_unblank in oops path
authoranton@samba.org <anton@samba.org>
Wed, 21 Mar 2007 01:38:12 +0000 (20:38 -0500)
committerPaul Mackerras <paulus@samba.org>
Mon, 26 Mar 2007 02:34:29 +0000 (12:34 +1000)
commit6031d9d9ad905b514bf45572bd1877fe6b5145ab
tree8562f0e11b1af2827625002bc7f672d8a66189b1
parent293e4688fe2fec87fccf84a3b1100b27191424e9
[POWERPC] Clean up pmac_backlight_unblank in oops path

Move pmac_backlight_unblank into its own function and only take the
pmac_backlight_mutex when we are on a pmac for that added bit of
paranoia.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/traps.c