Commit 96bc7aec authored by Pavel Machek's avatar Pavel Machek Committed by Linus Torvalds

[PATCH] swsusp: remove unneccessary includes

Cleanup comments and remove unneccessary includes.
Signed-off-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2c1b4a5c
/* /*
* linux/kernel/power/swsusp.c * linux/kernel/power/snapshot.c
* *
* This file is to realize architecture-independent * This file provide system snapshot/restore functionality.
* machine suspend feature using pretty near only high-level routines
* *
* Copyright (C) 1998-2005 Pavel Machek <pavel@suse.cz> * Copyright (C) 1998-2005 Pavel Machek <pavel@suse.cz>
* *
...@@ -15,30 +14,16 @@ ...@@ -15,30 +14,16 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/file.h>
#include <linux/utsname.h>
#include <linux/version.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/reboot.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/vt_kern.h>
#include <linux/kbd_kern.h>
#include <linux/keyboard.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/genhd.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/major.h>
#include <linux/swap.h>
#include <linux/pm.h> #include <linux/pm.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/buffer_head.h>
#include <linux/swapops.h>
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <linux/syscalls.h> #include <linux/syscalls.h>
#include <linux/console.h> #include <linux/console.h>
#include <linux/highmem.h> #include <linux/highmem.h>
#include <linux/bio.h>
#include <linux/mount.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
...@@ -46,15 +31,9 @@ ...@@ -46,15 +31,9 @@
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
#include <asm/io.h> #include <asm/io.h>
#include <linux/random.h>
#include <linux/crypto.h>
#include <asm/scatterlist.h>
#include "power.h" #include "power.h"
#ifdef CONFIG_HIGHMEM #ifdef CONFIG_HIGHMEM
struct highmem_page { struct highmem_page {
char *data; char *data;
......
/* /*
* linux/kernel/power/swsusp.c * linux/kernel/power/swsusp.c
* *
* This file is to realize architecture-independent * This file provides code to write suspend image to swap and read it back.
* machine suspend feature using pretty near only high-level routines
* *
* Copyright (C) 1998-2001 Gabor Kuti <seasons@fornax.hu> * Copyright (C) 1998-2001 Gabor Kuti <seasons@fornax.hu>
* Copyright (C) 1998,2001-2005 Pavel Machek <pavel@suse.cz> * Copyright (C) 1998,2001-2005 Pavel Machek <pavel@suse.cz>
...@@ -47,11 +46,7 @@ ...@@ -47,11 +46,7 @@
#include <linux/utsname.h> #include <linux/utsname.h>
#include <linux/version.h> #include <linux/version.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/reboot.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/vt_kern.h>
#include <linux/kbd_kern.h>
#include <linux/keyboard.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/genhd.h> #include <linux/genhd.h>
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -63,10 +58,8 @@ ...@@ -63,10 +58,8 @@
#include <linux/swapops.h> #include <linux/swapops.h>
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <linux/syscalls.h> #include <linux/syscalls.h>
#include <linux/console.h>
#include <linux/highmem.h> #include <linux/highmem.h>
#include <linux/bio.h> #include <linux/bio.h>
#include <linux/mount.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment