diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2014-01-21 18:36:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-02-09 15:17:50 -0500 |
commit | b119fa61d440fe0f5af504299ad506637585a8ca (patch) | |
tree | 27a1bc65806eef0ff2bd4c76b610dd772a7a1845 /arch/hexagon/include/asm/Kbuild | |
parent | 980f88e414418bf65569a3b62b08b07e6fc2f4c6 (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/hexagon/include/asm/Kbuild')
-rw-r--r-- | arch/hexagon/include/asm/Kbuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/hexagon/include/asm/Kbuild b/arch/hexagon/include/asm/Kbuild index 38ca45d3df1e..9f0eda48643a 100644 --- a/arch/hexagon/include/asm/Kbuild +++ b/arch/hexagon/include/asm/Kbuild | |||
@@ -25,14 +25,15 @@ generic-y += ipcbuf.h | |||
25 | generic-y += irq_regs.h | 25 | generic-y += irq_regs.h |
26 | generic-y += kdebug.h | 26 | generic-y += kdebug.h |
27 | generic-y += kmap_types.h | 27 | generic-y += kmap_types.h |
28 | generic-y += local64.h | ||
29 | generic-y += local.h | 28 | generic-y += local.h |
29 | generic-y += local64.h | ||
30 | generic-y += mman.h | 30 | generic-y += mman.h |
31 | generic-y += msgbuf.h | 31 | generic-y += msgbuf.h |
32 | generic-y += pci.h | 32 | generic-y += pci.h |
33 | generic-y += percpu.h | 33 | generic-y += percpu.h |
34 | generic-y += poll.h | 34 | generic-y += poll.h |
35 | generic-y += posix_types.h | 35 | generic-y += posix_types.h |
36 | generic-y += preempt.h | ||
36 | generic-y += resource.h | 37 | generic-y += resource.h |
37 | generic-y += rwsem.h | 38 | generic-y += rwsem.h |
38 | generic-y += scatterlist.h | 39 | generic-y += scatterlist.h |
@@ -45,8 +46,8 @@ generic-y += siginfo.h | |||
45 | generic-y += sizes.h | 46 | generic-y += sizes.h |
46 | generic-y += socket.h | 47 | generic-y += socket.h |
47 | generic-y += sockios.h | 48 | generic-y += sockios.h |
48 | generic-y += statfs.h | ||
49 | generic-y += stat.h | 49 | generic-y += stat.h |
50 | generic-y += statfs.h | ||
50 | generic-y += termbits.h | 51 | generic-y += termbits.h |
51 | generic-y += termios.h | 52 | generic-y += termios.h |
52 | generic-y += topology.h | 53 | generic-y += topology.h |
@@ -55,4 +56,3 @@ generic-y += types.h | |||
55 | generic-y += ucontext.h | 56 | generic-y += ucontext.h |
56 | generic-y += unaligned.h | 57 | generic-y += unaligned.h |
57 | generic-y += xor.h | 58 | generic-y += xor.h |
58 | generic-y += preempt.h | ||