ARM: move reboot code to arch/arm/kernel/reboot.c
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 1 Apr 2015 16:02:45 +0000 (17:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 Apr 2015 08:50:45 +0000 (09:50 +0100)
commit045ab94e10ee17038066d71abc8fdce719ab56f9
tree4792e1db4af20c88bf88a4f8adb280de1b766fdf
parent767bf7e7a1e82a81c59778348d156993d0a6175d
ARM: move reboot code to arch/arm/kernel/reboot.c

Move shutdown and reboot related code to a separate file, out of
process.c.  This helps to avoid polluting process.c with non-process
related code.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/Makefile
arch/arm/kernel/hibernate.c
arch/arm/kernel/process.c
arch/arm/kernel/reboot.c [new file with mode: 0644]
arch/arm/kernel/reboot.h