[PATCH] remove bogus asm/bug.h includes.
A bunch of asm/bug.h includes are both not needed (since it will get pulled anyway) and bogus (since they are done too early). Removed. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -84,7 +84,6 @@
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/threads.h>
|
||||
#include <linux/bitmap.h>
|
||||
#include <asm/bug.h>
|
||||
|
||||
typedef struct { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t;
|
||||
extern cpumask_t _unused_cpumask_arg_;
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/cache.h>
|
||||
#include <linux/rcupdate.h>
|
||||
#include <asm/bug.h>
|
||||
|
||||
struct nameidata;
|
||||
struct vfsmount;
|
||||
|
||||
@@ -239,7 +239,6 @@ typedef struct journal_superblock_s
|
||||
|
||||
#include <linux/fs.h>
|
||||
#include <linux/sched.h>
|
||||
#include <asm/bug.h>
|
||||
|
||||
#define JBD_ASSERTIONS
|
||||
#ifdef JBD_ASSERTIONS
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <asm/unaligned.h>
|
||||
#include <asm/system.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/bug.h>
|
||||
|
||||
#ifdef CONFIG_MTD_MAP_BANK_WIDTH_1
|
||||
#define map_bankwidth(map) 1
|
||||
|
||||
@@ -84,7 +84,6 @@
|
||||
#include <linux/threads.h>
|
||||
#include <linux/bitmap.h>
|
||||
#include <linux/numa.h>
|
||||
#include <asm/bug.h>
|
||||
|
||||
typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t;
|
||||
extern nodemask_t _unused_nodemask_arg_;
|
||||
|
||||
@@ -17,7 +17,6 @@ extern void cpu_idle(void);
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/thread_info.h>
|
||||
#include <asm/smp.h>
|
||||
#include <asm/bug.h>
|
||||
|
||||
/*
|
||||
* main cross-CPU interfaces, handles INIT, TLB flush, STOP, etc.
|
||||
|
||||
Reference in New Issue
Block a user