mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
pm: rework includes, remove arch ifdefs
Make the following header file changes: - remove arch ifdefs and asm/suspend.h from linux/suspend.h - add asm/suspend.h to disk.c (for arch_prepare_suspend()) - add linux/io.h to swsusp.c (for ioremap()) - x86 32/64 bit compile fixes Signed-off-by: Magnus Damm <damm@igel.co.jp> Cc: Paul Mundt <lethal@linux-sh.org> Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5f0e3da6e1
commit
a8af78982f
8 changed files with 7 additions and 3 deletions
|
@ -1,9 +1,6 @@
|
|||
#ifndef _LINUX_SUSPEND_H
|
||||
#define _LINUX_SUSPEND_H
|
||||
|
||||
#if defined(CONFIG_X86) || defined(CONFIG_FRV) || defined(CONFIG_PPC32) || defined(CONFIG_PPC64)
|
||||
#include <asm/suspend.h>
|
||||
#endif
|
||||
#include <linux/swap.h>
|
||||
#include <linux/notifier.h>
|
||||
#include <linux/init.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue