Skip to content

Commit

Permalink
x86: unify power/cpu_(32|64) headers
Browse files Browse the repository at this point in the history
First step towards the unification of cpu_32.c and cpu_64.c.
This commit unifies the headers of such files, making both
of them use the same header files. It also remove the uneeded
<module.h>.

Signed-off-by: Sergio Luis <sergio@larces.uece.br>
Signed-off-by: Lauro Salmito <laurosalmito@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Sergio Luis authored and Rafael J. Wysocki committed Jun 12, 2009
1 parent 62b0124 commit f6783d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion arch/x86/power/cpu_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
* Copyright (c) 2001 Patrick Mochel <mochel@osdl.org>
*/

#include <linux/module.h>
#include <linux/suspend.h>
#include <linux/smp.h>

#include <asm/pgtable.h>
#include <asm/proto.h>
#include <asm/mtrr.h>
#include <asm/page.h>
#include <asm/mce.h>
#include <asm/xcr.h>
#include <asm/suspend.h>
Expand Down
8 changes: 5 additions & 3 deletions arch/x86/power/cpu_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
* Copyright (c) 2001 Patrick Mochel <mochel@osdl.org>
*/

#include <linux/smp.h>
#include <linux/suspend.h>
#include <asm/proto.h>
#include <asm/page.h>
#include <linux/smp.h>

#include <asm/pgtable.h>
#include <asm/proto.h>
#include <asm/mtrr.h>
#include <asm/page.h>
#include <asm/mce.h>
#include <asm/xcr.h>
#include <asm/suspend.h>

Expand Down

0 comments on commit f6783d2

Please sign in to comment.