aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorTim Chen <tim.c.chen@linux.intel.com>2014-01-21 18:36:16 -0500
committerIngo Molnar <mingo@kernel.org>2014-02-09 15:17:50 -0500
commitb119fa61d440fe0f5af504299ad506637585a8ca (patch)
tree27a1bc65806eef0ff2bd4c76b610dd772a7a1845 /arch/openrisc
parent980f88e414418bf65569a3b62b08b07e6fc2f4c6 (diff)
locking/mcs: Order the header files in Kbuild of each architecture in alphabetical order
We perform a clean up of the Kbuid files in each architecture. We order the files in each Kbuild in alphabetical order by running the below script. for i in arch/*/include/asm/Kbuild do cat $i | gawk '/^generic-y/ { i = 3; do { for (; i <= NF; i++) { if ($i == "\\") { getline; i = 1; continue; } if ($i != "") hdr[$i] = $i; } break; } while (1); next; } // { print $0; } END { n = asort(hdr); for (i = 1; i <= n; i++) print "generic-y += " hdr[i]; }' > ${i}.sorted; mv ${i}.sorted $i; done Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Matthew R Wilcox <matthew.r.wilcox@intel.com> Cc: AswinChandramouleeswaran <aswin@hp.com> Cc: Dave Hansen <dave.hansen@intel.com> Cc: "Paul E.McKenney" <paulmck@linux.vnet.ibm.com> Cc: Scott J Norton <scott.norton@hp.com> Cc: Will Deacon <will.deacon@arm.com> Cc: "Figo.zhang" <figo1802@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Rik van Riel <riel@redhat.com> Cc: Waiman Long <waiman.long@hp.com> Cc: Peter Hurley <peter@hurleysoftware.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Tim Chen <tim.c.chen@linux.intel.com> Cc: Alex Shi <alex.shi@linaro.org> Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: George Spelvin <linux@horizon.com> Cc: MichelLespinasse <walken@google.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Davidlohr Bueso <davidlohr.bueso@hp.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Peter Zijlstra <peterz@infradead.org> [ Fixed build bug. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/include/asm/Kbuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild
index 2e40f1ca8667..f62a67a15055 100644
--- a/arch/openrisc/include/asm/Kbuild
+++ b/arch/openrisc/include/asm/Kbuild
@@ -10,8 +10,8 @@ generic-y += bugs.h
10generic-y += cacheflush.h 10generic-y += cacheflush.h
11generic-y += checksum.h 11generic-y += checksum.h
12generic-y += clkdev.h 12generic-y += clkdev.h
13generic-y += cmpxchg.h
14generic-y += cmpxchg-local.h 13generic-y += cmpxchg-local.h
14generic-y += cmpxchg.h
15generic-y += cputime.h 15generic-y += cputime.h
16generic-y += current.h 16generic-y += current.h
17generic-y += device.h 17generic-y += device.h
@@ -25,6 +25,7 @@ generic-y += fcntl.h
25generic-y += ftrace.h 25generic-y += ftrace.h
26generic-y += futex.h 26generic-y += futex.h
27generic-y += hardirq.h 27generic-y += hardirq.h
28generic-y += hash.h
28generic-y += hw_irq.h 29generic-y += hw_irq.h
29generic-y += ioctl.h 30generic-y += ioctl.h
30generic-y += ioctls.h 31generic-y += ioctls.h
@@ -41,6 +42,7 @@ generic-y += pci.h
41generic-y += percpu.h 42generic-y += percpu.h
42generic-y += poll.h 43generic-y += poll.h
43generic-y += posix_types.h 44generic-y += posix_types.h
45generic-y += preempt.h
44generic-y += resource.h 46generic-y += resource.h
45generic-y += scatterlist.h 47generic-y += scatterlist.h
46generic-y += sections.h 48generic-y += sections.h
@@ -53,11 +55,11 @@ generic-y += siginfo.h
53generic-y += signal.h 55generic-y += signal.h
54generic-y += socket.h 56generic-y += socket.h
55generic-y += sockios.h 57generic-y += sockios.h
56generic-y += statfs.h
57generic-y += stat.h 58generic-y += stat.h
59generic-y += statfs.h
58generic-y += string.h 60generic-y += string.h
59generic-y += switch_to.h
60generic-y += swab.h 61generic-y += swab.h
62generic-y += switch_to.h
61generic-y += termbits.h 63generic-y += termbits.h
62generic-y += termios.h 64generic-y += termios.h
63generic-y += topology.h 65generic-y += topology.h
@@ -68,5 +70,3 @@ generic-y += user.h
68generic-y += vga.h 70generic-y += vga.h
69generic-y += word-at-a-time.h 71generic-y += word-at-a-time.h
70generic-y += xor.h 72generic-y += xor.h
71generic-y += preempt.h
72generic-y += hash.h