Commit
5a6483feb0c5193519625d0ea8c4254364d423cc
Exists in
master
and in
40 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, emb_lf-6.6.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
include: Remove unnecessary inclusions of asm/semaphore.h
None of these files use any of the functionality promised by
asm/semaphore.h. It's possible that they (or some user of them) rely
on it dragging in some unrelated header file, but I can't build all
these files, so we'll have to fix any build failures as they come up.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Showing
13 changed files
with
0 additions
and
15 deletions
Side-by-side Diff
... |
... |
@@ -33,7 +33,6 @@ |
33
|
33 |
#include <linux/slab.h> |
34
|
34 |
#include <asm/irq.h> |
35
|
35 |
#include <asm/signal.h> |
36
|
|
-#include <asm/semaphore.h> |
37
|
36 |
|
38
|
37 |
#include <linux/kernel.h> |
39
|
38 |
#include <asm/mach/dma.h> |
... |
... |
@@ -9,7 +9,6 @@ |
9
|
9 |
#define _ASM_IA64_SN_NODEPDA_H |
10
|
10 |
|
11
|
11 |
|
12
|
|
-#include <asm/semaphore.h> |
13
|
12 |
#include <asm/irq.h> |
14
|
13 |
#include <asm/sn/arch.h> |
15
|
14 |
#include <asm/sn/intr.h> |
... |
... |
@@ -31,7 +31,6 @@ |
31
|
31 |
|
32
|
32 |
#include <asm/mmu.h> |
33
|
33 |
#include <asm/ocp_ids.h> |
34
|
|
-#include <asm/semaphore.h> |
35
|
34 |
|
36
|
35 |
#ifdef CONFIG_PPC_OCP |
37
|
36 |
|
... |
... |
@@ -23,7 +23,6 @@ |
23
|
23 |
#include <linux/node.h> |
24
|
24 |
#include <linux/compiler.h> |
25
|
25 |
#include <linux/cpumask.h> |
26
|
|
-#include <asm/semaphore.h> |
27
|
26 |
#include <linux/mutex.h> |
28
|
27 |
|
29
|
28 |
struct cpu { |
... |
... |
@@ -23,7 +23,6 @@ |
23
|
23 |
#include <asm/byteorder.h> |
24
|
24 |
#include <asm/system.h> |
25
|
25 |
#include <asm/io.h> |
26
|
|
-#include <asm/semaphore.h> |
27
|
26 |
#include <asm/mutex.h> |
28
|
27 |
|
29
|
28 |
#if defined(CONFIG_CRIS) || defined(CONFIG_FRV) |
... |
... |
@@ -24,7 +24,6 @@ |
24
|
24 |
#include <linux/if_ether.h> |
25
|
25 |
#include <linux/if.h> |
26
|
26 |
#include <linux/netdevice.h> |
27
|
|
-#include <asm/semaphore.h> |
28
|
27 |
#include <linux/ppp_channel.h> |
29
|
28 |
#endif /* __KERNEL__ */ |
30
|
29 |
#include <linux/if_pppol2tp.h> |
... |
... |
@@ -32,8 +32,6 @@ |
32
|
32 |
#include <linux/timer.h> |
33
|
33 |
#include <linux/lockdep.h> |
34
|
34 |
|
35
|
|
-#include <asm/semaphore.h> |
36
|
|
- |
37
|
35 |
#define journal_oom_retry 1 |
38
|
36 |
|
39
|
37 |
/* |
... |
... |
@@ -30,8 +30,6 @@ |
30
|
30 |
#include <linux/bit_spinlock.h> |
31
|
31 |
#include <linux/mutex.h> |
32
|
32 |
#include <linux/timer.h> |
33
|
|
- |
34
|
|
-#include <asm/semaphore.h> |
35
|
33 |
#endif |
36
|
34 |
|
37
|
35 |
#define journal_oom_retry 1 |
... |
... |
@@ -48,7 +48,6 @@ |
48
|
48 |
#include <linux/list.h> |
49
|
49 |
#include <linux/skbuff.h> |
50
|
50 |
#include <linux/workqueue.h> |
51
|
|
-#include <asm/semaphore.h> |
52
|
51 |
|
53
|
52 |
#define KCI_CONTRUP 0 /* arg: struct capi_profile */ |
54
|
53 |
#define KCI_CONTRDOWN 1 /* arg: NULL */ |
... |
... |
@@ -19,7 +19,6 @@ |
19
|
19 |
#define _MD_H |
20
|
20 |
|
21
|
21 |
#include <linux/blkdev.h> |
22
|
|
-#include <asm/semaphore.h> |
23
|
22 |
#include <linux/major.h> |
24
|
23 |
#include <linux/ioctl.h> |
25
|
24 |
#include <linux/types.h> |
... |
... |
@@ -61,7 +61,6 @@ |
61
|
61 |
#include <linux/mm_types.h> |
62
|
62 |
|
63
|
63 |
#include <asm/system.h> |
64
|
|
-#include <asm/semaphore.h> |
65
|
64 |
#include <asm/page.h> |
66
|
65 |
#include <asm/ptrace.h> |
67
|
66 |
#include <asm/cputime.h> |
... |
... |
@@ -60,7 +60,6 @@ |
60
|
60 |
#include <linux/capability.h> |
61
|
61 |
#include <linux/list.h> |
62
|
62 |
#include <linux/sem.h> |
63
|
|
-#include <asm/semaphore.h> |
64
|
63 |
#include <asm/siginfo.h> |
65
|
64 |
#include <asm/signal.h> |
66
|
65 |
#include <linux/quota.h> |
... |
... |
@@ -32,7 +32,6 @@ |
32
|
32 |
#include <scsi/sas.h> |
33
|
33 |
#include <linux/libata.h> |
34
|
34 |
#include <linux/list.h> |
35
|
|
-#include <asm/semaphore.h> |
36
|
35 |
#include <scsi/scsi_device.h> |
37
|
36 |
#include <scsi/scsi_cmnd.h> |
38
|
37 |
#include <scsi/scsi_transport_sas.h> |