]> git.karo-electronics.de Git - mv-sheeva.git/commit
sh: Add notifiers chains for cpu/board code
authorMagnus Damm <damm@opensource.se>
Thu, 29 Oct 2009 10:51:48 +0000 (10:51 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 30 Oct 2009 02:54:59 +0000 (11:54 +0900)
commit49f42644fd01bc7bd9b6b0a080fee1a89dc66665
tree570a5cc04f260ecdb81eb4af5ab3000c8518aa7d
parenteb3118f652ea7751ecf6a7e467bb637895e3be3b
sh: Add notifiers chains for cpu/board code

This patch adds atomic notifier chains for pre/post
sleep events. Useful for cpu code and boards that
need to save and restore register state before and
after entering a sleep mode.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/suspend.h
arch/sh/kernel/cpu/shmobile/pm.c