Skip to contentSkip to conversation

Use Kbuild logic to include <asm-generic/sections.h>

PATCH New Geert Uytterhoeven 1 participant 6 messages Aug 29, 2014 Alpha port

lore
Share & tools
lore
#0 lore raw

cover Use Kbuild logic to include <asm-generic/sections.h>

Hi Andrew,

Here's a resend of 5 patches from the series "[PATCH 00/17] <asm/sections.h> related cleanups" I sent almost one year ago
(https://lkml.org/lkml/2013/11/12/510).

4 of them received acks from their maintainers.

Thanks for applying!

Geert Uytterhoeven (5):
alpha: Use Kbuild logic to include <asm-generic/sections.h>
cris: Use Kbuild logic to include <asm-generic/sections.h>
m32r: Use Kbuild logic to include <asm-generic/sections.h>
mn10300: Use Kbuild logic to include <asm-generic/sections.h>
score: Use Kbuild logic to include <asm-generic/sections.h>

 arch/alpha/include/asm/Kbuild       | 1 +
 arch/alpha/include/asm/sections.h   | 7 -------
 arch/cris/include/asm/Kbuild        | 1 +
 arch/cris/include/asm/sections.h    | 7 -------
 arch/m32r/include/asm/Kbuild        | 1 +
 arch/m32r/include/asm/sections.h    | 7 -------
 arch/mn10300/include/asm/Kbuild     | 1 +
 arch/mn10300/include/asm/sections.h | 1 -
 arch/score/include/asm/Kbuild       | 1 +
 arch/score/include/asm/sections.h   | 6 ------
 10 files changed, 5 insertions(+), 28 deletions(-)
 delete mode 100644 arch/alpha/include/asm/sections.h
 delete mode 100644 arch/cris/include/asm/sections.h
 delete mode 100644 arch/m32r/include/asm/sections.h
 delete mode 100644 arch/mn10300/include/asm/sections.h
 delete mode 100644 arch/score/include/asm/sections.h
Signature · 12 lines
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
#1 lore raw

PATCH 1/5 alpha: Use Kbuild logic to include <asm-generic/sections.h>

---
 arch/alpha/include/asm/Kbuild     | 1 +
 arch/alpha/include/asm/sections.h | 7 -------
 2 files changed, 1 insertion(+), 7 deletions(-)
 delete mode 100644 arch/alpha/include/asm/sections.h
arch/alpha/include/asm/Kbuild +1 -0
index e858aa0ad8af..f53010234ff8 100644
@@ -7,4 +7,5 @@ generic-y += hash.h
 generic-y += mcs_spinlock.h
 generic-y += preempt.h
 generic-y += scatterlist.h
+generic-y += sections.h
 generic-y += trace_clock.h
arch/alpha/include/asm/sections.h deleted +0 -7
deleted file mode 100644
index 43b40edd6e44..000000000000
@@ -1,7 +0,0 @@
-#ifndef _ALPHA_SECTIONS_H
-#define _ALPHA_SECTIONS_H
-
-/* nothing to see, move along */
-#include <asm-generic/sections.h>
-
-#endif
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/5 cris: Use Kbuild logic to include <asm-generic/sections.h>

In reply to Geert Uytterhoeven
---
 arch/cris/include/asm/Kbuild     | 1 +
 arch/cris/include/asm/sections.h | 7 -------
 2 files changed, 1 insertion(+), 7 deletions(-)
 delete mode 100644 arch/cris/include/asm/sections.h
arch/cris/include/asm/Kbuild +1 -0
index 31742dfadff9..3b273dba65fa 100644
@@ -14,6 +14,7 @@ generic-y += mcs_spinlock.h
 generic-y += module.h
 generic-y += preempt.h
 generic-y += scatterlist.h
+generic-y += sections.h
 generic-y += trace_clock.h
 generic-y += vga.h
 generic-y += xor.h
arch/cris/include/asm/sections.h deleted +0 -7
deleted file mode 100644
index 2c998ce8967b..000000000000
@@ -1,7 +0,0 @@
-#ifndef _CRIS_SECTIONS_H
-#define _CRIS_SECTIONS_H
-
-/* nothing to see, move along */
-#include <asm-generic/sections.h>
-
-#endif
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/5 m32r: Use Kbuild logic to include <asm-generic/sections.h>

In reply to Geert Uytterhoeven
---
 arch/m32r/include/asm/Kbuild     | 1 +
 arch/m32r/include/asm/sections.h | 7 -------
 2 files changed, 1 insertion(+), 7 deletions(-)
 delete mode 100644 arch/m32r/include/asm/sections.h
arch/m32r/include/asm/Kbuild +1 -0
index accc10a3dc78..761eb79eff4d 100644
@@ -7,4 +7,5 @@ generic-y += mcs_spinlock.h
 generic-y += module.h
 generic-y += preempt.h
 generic-y += scatterlist.h
+generic-y += sections.h
 generic-y += trace_clock.h
arch/m32r/include/asm/sections.h deleted +0 -7
deleted file mode 100644
index 5e5d21c4908a..000000000000
@@ -1,7 +0,0 @@
-#ifndef _M32R_SECTIONS_H
-#define _M32R_SECTIONS_H
-
-/* nothing to see, move along */
-#include <asm-generic/sections.h>
-
-#endif	/* _M32R_SECTIONS_H */
Signature · 1 line
1.9.1
#4 lore raw

PATCH 4/5 mn10300: Use Kbuild logic to include <asm-generic/sections.h>

In reply to Geert Uytterhoeven
---
 arch/mn10300/include/asm/Kbuild     | 1 +
 arch/mn10300/include/asm/sections.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
 delete mode 100644 arch/mn10300/include/asm/sections.h
arch/mn10300/include/asm/Kbuild +1 -0
index ecbd6676bd33..8504ac52357b 100644
@@ -7,4 +7,5 @@ generic-y += hash.h
 generic-y += mcs_spinlock.h
 generic-y += preempt.h
 generic-y += scatterlist.h
+generic-y += sections.h
 generic-y += trace_clock.h
arch/mn10300/include/asm/sections.h deleted +0 -1
deleted file mode 100644
index 2b8c5160388f..000000000000
@@ -1 +0,0 @@
-#include <asm-generic/sections.h>
Signature · 1 line
1.9.1
#5 lore raw

PATCH 5/5 score: Use Kbuild logic to include <asm-generic/sections.h>

In reply to Geert Uytterhoeven
---
 arch/score/include/asm/Kbuild     | 1 +
 arch/score/include/asm/sections.h | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)
 delete mode 100644 arch/score/include/asm/sections.h
arch/score/include/asm/Kbuild +1 -0
index aad209199f7e..6fc350390063 100644
@@ -9,5 +9,6 @@ generic-y += hash.h
 generic-y += mcs_spinlock.h
 generic-y += preempt.h
 generic-y += scatterlist.h
+generic-y += sections.h
 generic-y += trace_clock.h
 generic-y += xor.h
arch/score/include/asm/sections.h deleted +0 -6
deleted file mode 100644
index 9441d23af005..000000000000
@@ -1,6 +0,0 @@
-#ifndef _ASM_SCORE_SECTIONS_H
-#define _ASM_SCORE_SECTIONS_H
-
-#include <asm-generic/sections.h>
-
-#endif /* _ASM_SCORE_SECTIONS_H */
Signature · 1 line
1.9.1