Skip to content

Commit

Permalink
metag: cleanup metag_ksyms.c includes
Browse files Browse the repository at this point in the history
Minimise metag_ksyms.c includes to directly include the <asm/*.h> files
that declare a particular symbol, and not include any unnecessary ones.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
  • Loading branch information
James Hogan committed Mar 2, 2013
1 parent 44c2451 commit d790050
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions arch/metag/kernel/metag_ksyms.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#include <linux/export.h>
#include <linux/linkage.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/hardirq.h>

#include <asm/checksum.h>
#include <asm/div64.h>
#include <asm/ftrace.h>
#include <asm/page.h>
#include <asm/string.h>
#include <asm/tbx.h>

EXPORT_SYMBOL(clear_page);
Expand Down

0 comments on commit d790050

Please sign in to comment.