sparc64: Hibernation support
commitbdde6b3c8ba48fa5847b6d75f0541c8b8db9205c
authorTkhai Kirill <tkhai@yandex.ru>
Tue, 19 Mar 2013 15:11:07 +0000 (19 15:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 18:06:54 +0000 (20 11:06 -0700)
tree9fccf29eca02be11f5e6e9eec13ae6d056ff3288
parent1ab0a67601ca7be81bfaaa0a2540ee0d0393f40b
sparc64: Hibernation support

This patch adds CONFIG_HIBERNATION support for sparc64
architecture. The suspend function is the same as on another
platforms. The restore function uses Bypass feature of MMU
which allows to make the process more comfortable and plesant.

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: David Miller <davem@davemloft.net>
CC: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig
arch/sparc/Makefile
arch/sparc/include/asm/hibernate.h [new file with mode: 0644]
arch/sparc/kernel/asm-offsets.c
arch/sparc/power/Makefile [new file with mode: 0644]
arch/sparc/power/hibernate.c [new file with mode: 0644]
arch/sparc/power/hibernate_asm.S [new file with mode: 0644]