Commit
1b8623545b42c03eb92e51b28c84acf4b8ba00a3
Exists in
master
and in
39 other branches
8mp-imx_5.4.70_2.3.0, 8qm-imx_5.4.70_2.3.0, emb_imx_lf-5.15.y, emb_lf-6.1.y, imx_3.0.35_4.1.0, imx_3.10.17_1.0.1_ga, imx_3.10.53_1.1.0_ga, imx_3.14.28_1.0.0_ga, imx_4.1.15_1.0.0_ga, pitx_8mp_lf-5.10.y, rt-smarc-imx_4.1.15_1.0.0_ga, rt_linux_5.15.71, smarc-8m-android-11.0.0_2.0.0, smarc-imx6_4.14.98_2.0.0_ga, smarc-imx6_4.9.88_2.0.0_ga, smarc-imx7_4.14.98_2.0.0_ga, smarc-imx7_4.9.11_1.0.0_ga, smarc-imx7_4.9.88_2.0.0_ga, smarc-imx_3.10.53_1.1.0_ga, smarc-imx_3.14.28_1.0.0_ga, smarc-imx_4.1.15_1.0.0_ga, smarc-imx_4.9.11_1.0.0_ga, smarc-imx_4.9.51_imx8m_ga, smarc-imx_4.9.88_2.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_1.2.0_ga, smarc_8m_00d0_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.14.78_1.0.0_ga, smarc_8m_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.19.35_1.1.0, smarc_8mm_imx_4.14.78_1.0.0_ga, smarc_8mm_imx_4.14.98_2.0.0_ga, smarc_8mm_imx_4.19.35_1.1.0, smarc_8mm_imx_5.4.24_2.1.0, smarc_8mp_lf-5.10.y, smarc_8mq_imx_5.4.24_2.1.0, smarc_8mq_lf-5.10.y, smarc_imx_lf-5.15.y
[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>
Showing
23 changed files
with
0 additions
and
24 deletions
Side-by-side Diff
... |
... |
@@ -17,7 +17,6 @@ |
17
|
17 |
#include <linux/mm.h> |
18
|
18 |
#include <linux/pagemap.h> |
19
|
19 |
#include <linux/highmem.h> |
20
|
|
-#include <asm/bug.h> |
21
|
20 |
#include <asm/scatterlist.h> |
22
|
21 |
#include "internal.h" |
23
|
22 |
#include "scatterwalk.h" |
... |
... |
@@ -42,8 +42,6 @@ |
42
|
42 |
#include <linux/proc_fs.h> |
43
|
43 |
#include <linux/seq_file.h> |
44
|
44 |
|
45
|
|
-#include <asm/bug.h> |
46
|
|
- |
47
|
45 |
#include <asm/vio.h> |
48
|
46 |
#include <asm/scatterlist.h> |
49
|
47 |
#include <asm/iseries/hv_types.h> |
... |
... |
@@ -86,7 +86,6 @@ |
86
|
86 |
#include <linux/bitops.h> |
87
|
87 |
#include <linux/jiffies.h> |
88
|
88 |
|
89
|
|
-#include <asm/bug.h> |
90
|
89 |
#include <asm/system.h> |
91
|
90 |
#include <asm/uaccess.h> |
92
|
91 |
|
... |
... |
@@ -17,7 +17,6 @@ |
17
|
17 |
#include <linux/types.h> |
18
|
18 |
|
19
|
19 |
#include <asm/addrspace.h> |
20
|
|
-#include <asm/bug.h> |
21
|
20 |
#include <asm/errno.h> |
22
|
21 |
#include <asm/io.h> |
23
|
22 |
#include <asm/paccess.h> |
... |
... |
@@ -13,7 +13,6 @@ |
13
|
13 |
#include <linux/ctype.h> |
14
|
14 |
#include <linux/err.h> |
15
|
15 |
#include <linux/fb.h> |
16
|
|
-#include <asm/bug.h> |
17
|
16 |
|
18
|
17 |
static ssize_t backlight_show_power(struct class_device *cdev, char *buf) |
19
|
18 |
{ |
... |
... |
@@ -13,7 +13,6 @@ |
13
|
13 |
#include <linux/ctype.h> |
14
|
14 |
#include <linux/err.h> |
15
|
15 |
#include <linux/fb.h> |
16
|
|
-#include <asm/bug.h> |
17
|
16 |
|
18
|
17 |
static ssize_t lcd_show_power(struct class_device *cdev, char *buf) |
19
|
18 |
{ |
... |
... |
@@ -30,7 +30,6 @@ |
30
|
30 |
#include <linux/module.h> |
31
|
31 |
#include <linux/types.h> |
32
|
32 |
|
33
|
|
-#include <asm/bug.h> |
34
|
33 |
#include <asm/io.h> |
35
|
34 |
#include <asm/system.h> |
36
|
35 |
|
... |
... |
@@ -27,7 +27,6 @@ |
27
|
27 |
#include <linux/module.h> |
28
|
28 |
#include <linux/types.h> |
29
|
29 |
|
30
|
|
-#include <asm/bug.h> |
31
|
30 |
#include <asm/io.h> |
32
|
31 |
#include <asm/system.h> |
33
|
32 |
|
... |
... |
@@ -21,7 +21,6 @@ |
21
|
21 |
#include <linux/kernel.h> |
22
|
22 |
#include <linux/reiserfs_fs.h> |
23
|
23 |
#include <asm/types.h> |
24
|
|
-#include <asm/bug.h> |
25
|
24 |
|
26
|
25 |
#define DELTA 0x9E3779B9 |
27
|
26 |
#define FULLROUNDS 10 /* 32 is overkill, 16 is strong crypto */ |
... |
... |
@@ -18,7 +18,6 @@ |
18
|
18 |
#include <linux/types.h> |
19
|
19 |
|
20
|
20 |
#include <asm/addrspace.h> |
21
|
|
-#include <asm/bug.h> |
22
|
21 |
#include <asm/byteorder.h> |
23
|
22 |
#include <asm/cpu.h> |
24
|
23 |
#include <asm/cpu-features.h> |
... |
... |
@@ -15,7 +15,6 @@ |
15
|
15 |
#include <linux/mm.h> |
16
|
16 |
#include <asm/scatterlist.h> |
17
|
17 |
#include <asm/io.h> |
18
|
|
-#include <asm/bug.h> |
19
|
18 |
|
20
|
19 |
#define DMA_ERROR_CODE (~(dma_addr_t)0x0) |
21
|
20 |
|
... |
... |
@@ -84,7 +84,6 @@ |
84
|
84 |
#include <linux/kernel.h> |
85
|
85 |
#include <linux/threads.h> |
86
|
86 |
#include <linux/bitmap.h> |
87
|
|
-#include <asm/bug.h> |
88
|
87 |
|
89
|
88 |
typedef struct { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; |
90
|
89 |
extern cpumask_t _unused_cpumask_arg_; |
... |
... |
@@ -8,7 +8,6 @@ |
8
|
8 |
#include <linux/spinlock.h> |
9
|
9 |
#include <linux/cache.h> |
10
|
10 |
#include <linux/rcupdate.h> |
11
|
|
-#include <asm/bug.h> |
12
|
11 |
|
13
|
12 |
struct nameidata; |
14
|
13 |
struct vfsmount; |
... |
... |
@@ -15,7 +15,6 @@ |
15
|
15 |
#include <asm/unaligned.h> |
16
|
16 |
#include <asm/system.h> |
17
|
17 |
#include <asm/io.h> |
18
|
|
-#include <asm/bug.h> |
19
|
18 |
|
20
|
19 |
#ifdef CONFIG_MTD_MAP_BANK_WIDTH_1 |
21
|
20 |
#define map_bankwidth(map) 1 |
... |
... |
@@ -84,7 +84,6 @@ |
84
|
84 |
#include <linux/threads.h> |
85
|
85 |
#include <linux/bitmap.h> |
86
|
86 |
#include <linux/numa.h> |
87
|
|
-#include <asm/bug.h> |
88
|
87 |
|
89
|
88 |
typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; |
90
|
89 |
extern nodemask_t _unused_nodemask_arg_; |
... |
... |
@@ -17,7 +17,6 @@ |
17
|
17 |
#include <linux/compiler.h> |
18
|
18 |
#include <linux/thread_info.h> |
19
|
19 |
#include <asm/smp.h> |
20
|
|
-#include <asm/bug.h> |
21
|
20 |
|
22
|
21 |
/* |
23
|
22 |
* main cross-CPU interfaces, handles INIT, TLB flush, STOP, etc. |
... |
... |
@@ -23,7 +23,6 @@ |
23
|
23 |
#include <linux/security.h> |
24
|
24 |
|
25
|
25 |
#include <asm/uaccess.h> |
26
|
|
-#include <asm/bug.h> |
27
|
26 |
|
28
|
27 |
int get_compat_timespec(struct timespec *ts, const struct compat_timespec __user *cts) |
29
|
28 |
{ |
... |
... |
@@ -15,7 +15,6 @@ |
15
|
15 |
#include <linux/config.h> |
16
|
16 |
#include <linux/module.h> |
17
|
17 |
|
18
|
|
-#include <asm/bug.h> |
19
|
18 |
#include <asm/div64.h> |
20
|
19 |
|
21
|
20 |
#include "tfrc.h" |
... |
... |
@@ -8,7 +8,6 @@ |
8
|
8 |
* |
9
|
9 |
*/ |
10
|
10 |
|
11
|
|
-#include <asm/bug.h> |
12
|
11 |
#include <linux/compiler.h> |
13
|
12 |
#include <linux/config.h> |
14
|
13 |
#include <linux/inetdevice.h> |
... |
... |
@@ -35,7 +35,6 @@ |
35
|
35 |
#include <linux/skbuff.h> |
36
|
36 |
#include <asm/uaccess.h> |
37
|
37 |
#include <asm/ioctls.h> |
38
|
|
-#include <asm/bug.h> |
39
|
38 |
|
40
|
39 |
#include <net/ip.h> |
41
|
40 |
#include <net/sock.h> |
... |
... |
@@ -11,7 +11,6 @@ |
11
|
11 |
* |
12
|
12 |
*/ |
13
|
13 |
|
14
|
|
-#include <asm/bug.h> |
15
|
14 |
#include <linux/compiler.h> |
16
|
15 |
#include <linux/config.h> |
17
|
16 |
#include <linux/netdevice.h> |
... |
... |
@@ -13,7 +13,6 @@ |
13
|
13 |
* |
14
|
14 |
*/ |
15
|
15 |
|
16
|
|
-#include <asm/bug.h> |
17
|
16 |
#include <linux/config.h> |
18
|
17 |
#include <linux/slab.h> |
19
|
18 |
#include <linux/kmod.h> |