Skip to content

asm-generic: Convert all to use Kbuild file

Steven Rostedt linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25alpha: Use Kbuild infrastructure to handle asm-generic headersarch/alpha/include/asm/Kbuild arch/alpha/include/asm/cputime.h arch/alpha/include/asm/device.h +10 more+12 -390 replies
2/25arm: Use Kbuild infrastructure to handle asm-generic headersarch/arm/include/asm/Kbuild arch/arm/include/asm/kvm_para.h arch/avr32/include/asm/ipcbuf.h+2 -20 replies
3/25avr32: Use Kbuild infrastructure to handle asm-generic headersarch/avr32/include/asm/Kbuild arch/avr32/include/asm/bitsperlong.h arch/avr32/include/asm/cputime.h +24 more+27 -1172 replies
4/25blackfin: Use Kbuild infrastructure for kvm_para.harch/blackfin/include/asm/Kbuild arch/blackfin/include/asm/kvm_para.h+1 -13 replies
5/25c6x: Use Kbuild infrastructure for kvm_para.harch/c6x/include/asm/Kbuild arch/c6x/include/asm/kvm_para.h+1 -10 replies
6/25cris: Use Kbuild infrastructure to handle asm-generic headersarch/cris/include/asm/Kbuild arch/cris/include/asm/bitsperlong.h arch/cris/include/asm/cputime.h +22 more+24 -950 replies
7/25frv: Use Kbuild infrastructure to handle asm-generic headersarch/frv/include/asm/Kbuild arch/frv/include/asm/bitsperlong.h arch/frv/include/asm/cputime.h +17 more+19 -680 replies
8/25h8300: Use Kbuild infrastructure to handle asm-generic headersarch/h8300/include/asm/Kbuild arch/h8300/include/asm/bitsperlong.h arch/h8300/include/asm/cputime.h +21 more+23 -940 replies
9/25hexagon: Use Kbuild infrastructure for kvm_para.harch/hexagon/include/asm/Kbuild arch/hexagon/include/asm/kvm_para.h+1 -10 replies
10/25ia64: Use Kbuild infrastructure to handle asm-generic headersarch/ia64/include/asm/Kbuild arch/ia64/include/asm/div64.h arch/ia64/include/asm/emergency-restart.h +8 more+10 -200 replies
11/25m32r: Use Kbuild infrastructure to handle asm-generic headersarch/m32r/include/asm/Kbuild arch/m32r/include/asm/bitsperlong.h arch/m32r/include/asm/bug.h +26 more+28 -1140 replies
12/25microblaze: Use Kbuild infrastructure to handle asm-generic headersarch/microblaze/include/asm/Kbuild arch/microblaze/include/asm/bitops.h arch/microblaze/include/asm/bitsperlong.h +44 more+46 -510 replies
13/25mips: Use Kbuild infrastructure to handle asm-generic headersarch/mips/include/asm/Kbuild arch/mips/include/asm/cputime.h arch/mips/include/asm/current.h +11 more+14 -382 replies
14/25mn10300: Use Kbuild infrastructure to handle asm-generic headersarch/mn10300/include/asm/Kbuild arch/mn10300/include/asm/bitsperlong.h arch/mn10300/include/asm/cputime.h +21 more+23 -480 replies
15/25openrisc: Use Kbuild infrastructure for kvm_para.harch/openrisc/include/asm/Kbuild arch/openrisc/include/asm/kvm_para.h+1 -13 replies
16/25parisc: Use Kbuild infrastructure to handle asm-generic headersarch/parisc/include/asm/Kbuild arch/parisc/include/asm/compat_signal.h arch/parisc/include/asm/cputime.h +14 more+17 -552 replies
17/25powerpc: Use Kbuild infrastructure to handle asm-generic headersarch/powerpc/include/asm/Kbuild arch/powerpc/include/asm/div64.h arch/powerpc/include/asm/emergency-restart.h +7 more+9 -150 replies
18/25s390: Use Kbuild infrastructure to handle asm-generic headersarch/s390/include/asm/Kbuild arch/s390/include/asm/device.h arch/s390/include/asm/div64.h +14 more+16 -700 replies
19/25score: Use Kbuild infrastructure to handle asm-generic headersarch/score/include/asm/Kbuild arch/score/include/asm/bitsperlong.h arch/score/include/asm/bugs.h +42 more+44 -2490 replies
20/25sparc: Use Kbuild infrastructure to handle asm-generic headersarch/sparc/include/asm/Kbuild arch/sparc/include/asm/cputime.h arch/sparc/include/asm/emergency-restart.h +3 more+5 -294 replies
21/25tile: Use Kbuild infrastructure for kvm_para.harch/tile/include/asm/Kbuild arch/tile/include/asm/kvm_para.h+1 -11 reply
22/25um: Use Kbuild infrastructure for kvm_para.harch/um/include/asm/Kbuild arch/um/include/asm/kvm_para.h+1 -21 reply
23/25unicore32: Use Kbuild infrastructure for kvm_para.harch/unicore32/include/asm/Kbuild arch/unicore32/include/asm/kvm_para.h+1 -12 replies
24/25x86: Use Kbuild infrastructure to handle asm-generic headersarch/x86/include/asm/Kbuild arch/x86/include/asm/cputime.h arch/x86/include/asm/errno.h +15 more+18 -220 replies
25/25xtensa: Use Kbuild infrastructure to handle asm-generic headersarch/xtensa/include/asm/Kbuild arch/xtensa/include/asm/bitsperlong.h arch/xtensa/include/asm/bug.h +23 more+25 -2441 reply

Reviews trailers per patch

5 of 25 patches have a Reviewed-by or Acked-by.

PatchDavid S. MillerMike FrysingerJonas BonnRichard WeinbergerChris Metcalf
1/25
2/25
3/25
4/25A-b
5/25
6/25
7/25
8/25
9/25
10/25
11/25
12/25
13/25
14/25
15/25A-b
16/25
17/25
18/25
19/25
20/25A-b
21/25A-b
22/25A-b
23/25
24/25
25/25

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 00/25] asm-generic: Convert all to use Kbuild file

Recently I suggested to someone that was adding a new asm file that currently only contained an x86 change to add a header in all archs that was just a wrapper to point to the asm-generic version. I suggested this because that's the way we use to do it and just to refresh my memory, I looked at div64.h in a few archs and saw that was the case.

After having the change done and just after finishing testing it, I was notified that the "proper" way of doing this is to add it to the

arch/*/include/asm/Kbuild

file, as 'generic-y += foo.h' and it will reference the asm-generic file automatically. Well it would have been nice if I knew this before and wasn't confused by seeing the incorrect method.

Thus, out of frustration, I went and cleaned up all the archs to have them use the Kbuild method and deleted the empty files. I spent a bit of time to make sure the only thing the file did was include the generic header and not add anything else. So if it only included the generic header and sometimes added the wrapper #ifndef _HEADER_H notations, I deleted the file and added it to Kbuild.

What I would really like to do is get rid of the adding of these files all together (from even the Kbuild file), and just have by default, if the file does not exist in arch/*/include/asm/ but does in include/asm-generic/ then use the generic version. Why don't we do that now? I can look into doing this when I have more time.

I tested these changes by cross compiling the defconfig for everything but:

c6x, hexagon, microblaze, score, unicore

because cross compilers for these archs are not available to me.

Note, I first did the change against 3.6 but found that there's some isses with the check header but is fixed by David Howells changes in the current merge window. But it seems that the current merge window caused:

frv, openrisc, ia64 and xtensa

not to compile correctly (before adding these patches). I tested anyway, just to see if they added more errors.

h8300 I have yet to get to compile (never ever compiled for me).

But everything else has been crossed compiled by a defconfig and seems to work.

Kudos to m68k and sh, those two were fully up-to-date with
the new Kbuild method.

Honorable mention goes to:

blackfin, c6x, hexagon, openrisc, tile, um and unicore2

for being almost totally up to the new method, but it seems that kvm_para.h was added the old way.

Please feel free to pluck these patches into your architecture and run them to make sure that they boot as well (I only had the compiler and not the box... Also I only tested with defconfig, I may have broken other configs).

One note, the best thing about these changes is:

 390 files changed, 369 insertions(+), 1378 deletions(-)

-- Steve

Steven Rostedt (25):
alpha: Use Kbuild infrastructure to handle asm-generic headers
arm: Use Kbuild infrastructure to handle asm-generic headers
avr32: Use Kbuild infrastructure to handle asm-generic headers
blackfin: Use Kbuild infrastructure for kvm_para.h
c6x: Use Kbuild infrastructure for kvm_para.h
cris: Use Kbuild infrastructure to handle asm-generic headers
frv: Use Kbuild infrastructure to handle asm-generic headers
h8300: Use Kbuild infrastructure to handle asm-generic headers
hexagon: Use Kbuild infrastructure for kvm_para.h
ia64: Use Kbuild infrastructure to handle asm-generic headers
m32r: Use Kbuild infrastructure to handle asm-generic headers
microblaze: Use Kbuild infrastructure to handle asm-generic headers
mips: Use Kbuild infrastructure to handle asm-generic headers
mn10300: Use Kbuild infrastructure to handle asm-generic headers
openrisc: Use Kbuild infrastructure for kvm_para.h
parisc: Use Kbuild infrastructure to handle asm-generic headers
powerpc: Use Kbuild infrastructure to handle asm-generic headers
s390: Use Kbuild infrastructure to handle asm-generic headers
score: Use Kbuild infrastructure to handle asm-generic headers
sparc: Use Kbuild infrastructure to handle asm-generic headers
tile: Use Kbuild infrastructure for kvm_para.h
um: Use Kbuild infrastructure for kvm_para.h
unicore32: Use Kbuild infrastructure for kvm_para.h
x86: Use Kbuild infrastructure to handle asm-generic headers
xtensa: Use Kbuild infrastructure to handle asm-generic headers

----

 arch/alpha/include/asm/Kbuild                   |   12 ++++++
 arch/alpha/include/asm/cputime.h                |    6 ---
 arch/alpha/include/asm/device.h                 |    7 ----
 arch/alpha/include/asm/div64.h                  |    1 -
 arch/alpha/include/asm/emergency-restart.h      |    6 ---
 arch/alpha/include/asm/ipcbuf.h                 |    1 -
 arch/alpha/include/asm/irq_regs.h               |    1 -
 arch/alpha/include/asm/kdebug.h                 |    1 -
 arch/alpha/include/asm/kvm_para.h               |    1 -
 arch/alpha/include/asm/local64.h                |    1 -
 arch/alpha/include/asm/poll.h                   |    1 -
 arch/alpha/include/asm/scatterlist.h            |    6 ---
 arch/alpha/include/asm/sections.h               |    7 ----
 arch/arm/include/asm/Kbuild                     |    2 +
 arch/arm/include/asm/kvm_para.h                 |    1 -
 arch/avr32/include/asm/Kbuild                   |   27 +++++++++++++
 arch/avr32/include/asm/bitsperlong.h            |    1 -
 arch/avr32/include/asm/cputime.h                |    6 ---
 arch/avr32/include/asm/delay.h                  |    1 -
 arch/avr32/include/asm/device.h                 |    7 ----
 arch/avr32/include/asm/div64.h                  |    6 ---
 arch/avr32/include/asm/emergency-restart.h      |    6 ---
 arch/avr32/include/asm/errno.h                  |    6 ---
 arch/avr32/include/asm/fcntl.h                  |    6 ---
 arch/avr32/include/asm/futex.h                  |    6 ---
 arch/avr32/include/asm/ioctl.h                  |    6 ---
 arch/avr32/include/asm/ioctls.h                 |    6 ---
 arch/avr32/include/asm/ipcbuf.h                 |    1 -
 arch/avr32/include/asm/irq_regs.h               |    1 -
 arch/avr32/include/asm/kvm_para.h               |    1 -
 arch/avr32/include/asm/local.h                  |    6 ---
 arch/avr32/include/asm/local64.h                |    1 -
 arch/avr32/include/asm/mman.h                   |    1 -
 arch/avr32/include/asm/percpu.h                 |    6 ---
 arch/avr32/include/asm/poll.h                   |    1 -
 arch/avr32/include/asm/resource.h               |    6 ---
 arch/avr32/include/asm/scatterlist.h            |    6 ---
 arch/avr32/include/asm/sections.h               |    6 ---
 arch/avr32/include/asm/siginfo.h                |    6 ---
 arch/avr32/include/asm/statfs.h                 |    6 ---
 arch/avr32/include/asm/topology.h               |    6 ---
 arch/avr32/include/asm/xor.h                    |    6 ---
 arch/blackfin/include/asm/Kbuild                |    1 +
 arch/blackfin/include/asm/kvm_para.h            |    1 -
 arch/c6x/include/asm/Kbuild                     |    1 +
 arch/c6x/include/asm/kvm_para.h                 |    1 -
 arch/cris/include/asm/Kbuild                    |   24 ++++++++++++
 arch/cris/include/asm/bitsperlong.h             |    1 -
 arch/cris/include/asm/cputime.h                 |    6 ---
 arch/cris/include/asm/device.h                  |    7 ----
 arch/cris/include/asm/div64.h                   |    1 -
 arch/cris/include/asm/emergency-restart.h       |    6 ---
 arch/cris/include/asm/errno.h                   |    6 ---
 arch/cris/include/asm/fcntl.h                   |    1 -
 arch/cris/include/asm/futex.h                   |    6 ---
 arch/cris/include/asm/ioctl.h                   |    1 -
 arch/cris/include/asm/ipcbuf.h                  |    1 -
 arch/cris/include/asm/irq_regs.h                |    1 -
 arch/cris/include/asm/kdebug.h                  |    1 -
 arch/cris/include/asm/kmap_types.h              |   10 -----
 arch/cris/include/asm/local.h                   |    1 -
 arch/cris/include/asm/local64.h                 |    1 -
 arch/cris/include/asm/mman.h                    |    1 -
 arch/cris/include/asm/percpu.h                  |    6 ---
 arch/cris/include/asm/poll.h                    |    1 -
 arch/cris/include/asm/resource.h                |    6 ---
 arch/cris/include/asm/scatterlist.h             |    6 ---
 arch/cris/include/asm/sections.h                |    7 ----
 arch/cris/include/asm/siginfo.h                 |    6 ---
 arch/cris/include/asm/statfs.h                  |    6 ---
 arch/cris/include/asm/topology.h                |    6 ---
 arch/frv/include/asm/Kbuild                     |   19 ++++++++++
 arch/frv/include/asm/bitsperlong.h              |    1 -
 arch/frv/include/asm/cputime.h                  |    6 ---
 arch/frv/include/asm/device.h                   |    7 ----
 arch/frv/include/asm/div64.h                    |    1 -
 arch/frv/include/asm/emergency-restart.h        |    6 ---
 arch/frv/include/asm/errno.h                    |    7 ----
 arch/frv/include/asm/fcntl.h                    |    1 -
 arch/frv/include/asm/ioctl.h                    |    1 -
 arch/frv/include/asm/ipcbuf.h                   |    1 -
 arch/frv/include/asm/kdebug.h                   |    1 -
 arch/frv/include/asm/kvm_para.h                 |    1 -
 arch/frv/include/asm/local.h                    |    6 ---
 arch/frv/include/asm/local64.h                  |    1 -
 arch/frv/include/asm/mman.h                     |    1 -
 arch/frv/include/asm/percpu.h                   |    6 ---
 arch/frv/include/asm/resource.h                 |    7 ----
 arch/frv/include/asm/scatterlist.h              |    6 ---
 arch/frv/include/asm/statfs.h                   |    7 ----
 arch/frv/include/asm/xor.h                      |    1 -
 arch/h8300/include/asm/Kbuild                   |   23 ++++++++++++
 arch/h8300/include/asm/bitsperlong.h            |    1 -
 arch/h8300/include/asm/cputime.h                |    6 ---
 arch/h8300/include/asm/device.h                 |    7 ----
 arch/h8300/include/asm/div64.h                  |    1 -
 arch/h8300/include/asm/emergency-restart.h      |    6 ---
 arch/h8300/include/asm/errno.h                  |    6 ---
 arch/h8300/include/asm/futex.h                  |    6 ---
 arch/h8300/include/asm/ioctl.h                  |    1 -
 arch/h8300/include/asm/ipcbuf.h                 |    1 -
 arch/h8300/include/asm/irq_regs.h               |    1 -
 arch/h8300/include/asm/kdebug.h                 |    1 -
 arch/h8300/include/asm/kmap_types.h             |    6 ---
 arch/h8300/include/asm/kvm_para.h               |    1 -
 arch/h8300/include/asm/local.h                  |    6 ---
 arch/h8300/include/asm/local64.h                |    1 -
 arch/h8300/include/asm/mman.h                   |    1 -
 arch/h8300/include/asm/percpu.h                 |    6 ---
 arch/h8300/include/asm/resource.h               |    6 ---
 arch/h8300/include/asm/scatterlist.h            |    6 ---
 arch/h8300/include/asm/sections.h               |    6 ---
 arch/h8300/include/asm/siginfo.h                |    6 ---
 arch/h8300/include/asm/statfs.h                 |    6 ---
 arch/h8300/include/asm/topology.h               |    6 ---
 arch/hexagon/include/asm/Kbuild                 |    1 +
 arch/hexagon/include/asm/kvm_para.h             |    1 -
 arch/ia64/include/asm/Kbuild                    |   10 +++++
 arch/ia64/include/asm/div64.h                   |    1 -
 arch/ia64/include/asm/emergency-restart.h       |    6 ---
 arch/ia64/include/asm/errno.h                   |    1 -
 arch/ia64/include/asm/ioctl.h                   |    1 -
 arch/ia64/include/asm/ioctls.h                  |    6 ---
 arch/ia64/include/asm/ipcbuf.h                  |    1 -
 arch/ia64/include/asm/irq_regs.h                |    1 -
 arch/ia64/include/asm/local.h                   |    1 -
 arch/ia64/include/asm/local64.h                 |    1 -
 arch/ia64/include/asm/poll.h                    |    1 -
 arch/m32r/include/asm/Kbuild                    |   28 ++++++++++++++
 arch/m32r/include/asm/bitsperlong.h             |    1 -
 arch/m32r/include/asm/bug.h                     |    4 --
 arch/m32r/include/asm/cputime.h                 |    6 ---
 arch/m32r/include/asm/delay.h                   |    1 -
 arch/m32r/include/asm/device.h                  |    7 ----
 arch/m32r/include/asm/div64.h                   |    1 -
 arch/m32r/include/asm/emergency-restart.h       |    6 ---
 arch/m32r/include/asm/errno.h                   |    6 ---
 arch/m32r/include/asm/fcntl.h                   |    1 -
 arch/m32r/include/asm/futex.h                   |    6 ---
 arch/m32r/include/asm/ioctl.h                   |    1 -
 arch/m32r/include/asm/ioctls.h                  |    6 ---
 arch/m32r/include/asm/ipcbuf.h                  |    1 -
 arch/m32r/include/asm/irq_regs.h                |    1 -
 arch/m32r/include/asm/kdebug.h                  |    1 -
 arch/m32r/include/asm/local64.h                 |    1 -
 arch/m32r/include/asm/mman.h                    |    1 -
 arch/m32r/include/asm/param.h                   |    7 ----
 arch/m32r/include/asm/pci.h                     |    6 ---
 arch/m32r/include/asm/percpu.h                  |    6 ---
 arch/m32r/include/asm/poll.h                    |    1 -
 arch/m32r/include/asm/resource.h                |    6 ---
 arch/m32r/include/asm/scatterlist.h             |    6 ---
 arch/m32r/include/asm/sections.h                |    7 ----
 arch/m32r/include/asm/siginfo.h                 |    6 ---
 arch/m32r/include/asm/statfs.h                  |    6 ---
 arch/m32r/include/asm/topology.h                |    6 ---
 arch/m32r/include/asm/xor.h                     |    6 ---
 arch/microblaze/include/asm/Kbuild              |   46 +++++++++++++++++++++++
 arch/microblaze/include/asm/bitops.h            |    1 -
 arch/microblaze/include/asm/bitsperlong.h       |    1 -
 arch/microblaze/include/asm/bug.h               |    1 -
 arch/microblaze/include/asm/bugs.h              |    1 -
 arch/microblaze/include/asm/cputime.h           |    1 -
 arch/microblaze/include/asm/div64.h             |    1 -
 arch/microblaze/include/asm/emergency-restart.h |    1 -
 arch/microblaze/include/asm/errno.h             |    1 -
 arch/microblaze/include/asm/fb.h                |    1 -
 arch/microblaze/include/asm/fcntl.h             |    1 -
 arch/microblaze/include/asm/hardirq.h           |    1 -
 arch/microblaze/include/asm/ioctl.h             |    1 -
 arch/microblaze/include/asm/ioctls.h            |    1 -
 arch/microblaze/include/asm/ipcbuf.h            |    1 -
 arch/microblaze/include/asm/irq_regs.h          |    1 -
 arch/microblaze/include/asm/kdebug.h            |    1 -
 arch/microblaze/include/asm/kmap_types.h        |    6 ---
 arch/microblaze/include/asm/kvm_para.h          |    1 -
 arch/microblaze/include/asm/local.h             |    1 -
 arch/microblaze/include/asm/local64.h           |    1 -
 arch/microblaze/include/asm/mman.h              |    1 -
 arch/microblaze/include/asm/msgbuf.h            |    1 -
 arch/microblaze/include/asm/param.h             |    1 -
 arch/microblaze/include/asm/parport.h           |    1 -
 arch/microblaze/include/asm/percpu.h            |    1 -
 arch/microblaze/include/asm/poll.h              |    1 -
 arch/microblaze/include/asm/resource.h          |    1 -
 arch/microblaze/include/asm/scatterlist.h       |    1 -
 arch/microblaze/include/asm/sembuf.h            |    1 -
 arch/microblaze/include/asm/serial.h            |    1 -
 arch/microblaze/include/asm/shmbuf.h            |    1 -
 arch/microblaze/include/asm/shmparam.h          |    1 -
 arch/microblaze/include/asm/siginfo.h           |    1 -
 arch/microblaze/include/asm/signal.h            |    1 -
 arch/microblaze/include/asm/socket.h            |    1 -
 arch/microblaze/include/asm/sockios.h           |    1 -
 arch/microblaze/include/asm/stat.h              |    1 -
 arch/microblaze/include/asm/statfs.h            |    1 -
 arch/microblaze/include/asm/swab.h              |    1 -
 arch/microblaze/include/asm/termbits.h          |    1 -
 arch/microblaze/include/asm/termios.h           |    1 -
 arch/microblaze/include/asm/topology.h          |    1 -
 arch/microblaze/include/asm/types.h             |    1 -
 arch/microblaze/include/asm/ucontext.h          |    1 -
 arch/microblaze/include/asm/vga.h               |    1 -
 arch/microblaze/include/asm/xor.h               |    1 -
 arch/mips/include/asm/Kbuild                    |   14 +++++++
 arch/mips/include/asm/cputime.h                 |    6 ---
 arch/mips/include/asm/current.h                 |    1 -
 arch/mips/include/asm/emergency-restart.h       |    6 ---
 arch/mips/include/asm/ipcbuf.h                  |    1 -
 arch/mips/include/asm/kvm_para.h                |    1 -
 arch/mips/include/asm/local64.h                 |    1 -
 arch/mips/include/asm/parport.h                 |    1 -
 arch/mips/include/asm/percpu.h                  |    6 ---
 arch/mips/include/asm/scatterlist.h             |    6 ---
 arch/mips/include/asm/sections.h                |    6 ---
 arch/mips/include/asm/serial.h                  |    1 -
 arch/mips/include/asm/ucontext.h                |    1 -
 arch/mips/include/asm/xor.h                     |    1 -
 arch/mn10300/include/asm/Kbuild                 |   23 ++++++++++++
 arch/mn10300/include/asm/bitsperlong.h          |    1 -
 arch/mn10300/include/asm/cputime.h              |    1 -
 arch/mn10300/include/asm/device.h               |    1 -
 arch/mn10300/include/asm/emergency-restart.h    |    1 -
 arch/mn10300/include/asm/errno.h                |    1 -
 arch/mn10300/include/asm/fcntl.h                |    1 -
 arch/mn10300/include/asm/futex.h                |    1 -
 arch/mn10300/include/asm/ioctl.h                |    1 -
 arch/mn10300/include/asm/ioctls.h               |    6 ---
 arch/mn10300/include/asm/ipcbuf.h               |    1 -
 arch/mn10300/include/asm/kmap_types.h           |    6 ---
 arch/mn10300/include/asm/kvm_para.h             |    1 -
 arch/mn10300/include/asm/local.h                |    1 -
 arch/mn10300/include/asm/local64.h              |    1 -
 arch/mn10300/include/asm/percpu.h               |    1 -
 arch/mn10300/include/asm/poll.h                 |    1 -
 arch/mn10300/include/asm/resource.h             |    1 -
 arch/mn10300/include/asm/scatterlist.h          |   16 --------
 arch/mn10300/include/asm/sections.h             |    1 -
 arch/mn10300/include/asm/siginfo.h              |    1 -
 arch/mn10300/include/asm/statfs.h               |    1 -
 arch/mn10300/include/asm/topology.h             |    1 -
 arch/mn10300/include/asm/xor.h                  |    1 -
 arch/openrisc/include/asm/Kbuild                |    1 +
 arch/openrisc/include/asm/kvm_para.h            |    1 -
 arch/parisc/include/asm/Kbuild                  |   18 ++++++++-
 arch/parisc/include/asm/compat_signal.h         |    2 -
 arch/parisc/include/asm/cputime.h               |    6 ---
 arch/parisc/include/asm/device.h                |    7 ----
 arch/parisc/include/asm/div64.h                 |    1 -
 arch/parisc/include/asm/emergency-restart.h     |    6 ---
 arch/parisc/include/asm/hardirq.h               |   11 ------
 arch/parisc/include/asm/irq_regs.h              |    1 -
 arch/parisc/include/asm/kdebug.h                |    1 -
 arch/parisc/include/asm/kvm_para.h              |    1 -
 arch/parisc/include/asm/local.h                 |    1 -
 arch/parisc/include/asm/local64.h               |    1 -
 arch/parisc/include/asm/param.h                 |    1 -
 arch/parisc/include/asm/percpu.h                |    7 ----
 arch/parisc/include/asm/poll.h                  |    1 -
 arch/parisc/include/asm/topology.h              |    6 ---
 arch/parisc/include/asm/xor.h                   |    1 -
 arch/powerpc/include/asm/Kbuild                 |    9 +++++
 arch/powerpc/include/asm/div64.h                |    1 -
 arch/powerpc/include/asm/emergency-restart.h    |    1 -
 arch/powerpc/include/asm/irq_regs.h             |    2 -
 arch/powerpc/include/asm/local64.h              |    1 -
 arch/powerpc/include/asm/param.h                |    1 -
 arch/powerpc/include/asm/poll.h                 |    1 -
 arch/powerpc/include/asm/resource.h             |    1 -
 arch/powerpc/include/asm/statfs.h               |    6 ---
 arch/powerpc/include/asm/xor.h                  |    1 -
 arch/s390/include/asm/Kbuild                    |   17 ++++++++-
 arch/s390/include/asm/device.h                  |    7 ----
 arch/s390/include/asm/div64.h                   |    1 -
 arch/s390/include/asm/emergency-restart.h       |    6 ---
 arch/s390/include/asm/irq_regs.h                |    1 -
 arch/s390/include/asm/kmap_types.h              |    6 ---
 arch/s390/include/asm/local.h                   |    1 -
 arch/s390/include/asm/local64.h                 |    1 -
 arch/s390/include/asm/xor.h                     |    1 -
 arch/s390/include/uapi/asm/errno.h              |   11 ------
 arch/s390/include/uapi/asm/fcntl.h              |    1 -
 arch/s390/include/uapi/asm/ioctl.h              |    1 -
 arch/s390/include/uapi/asm/param.h              |    6 ---
 arch/s390/include/uapi/asm/poll.h               |    1 -
 arch/s390/include/uapi/asm/resource.h           |   13 -------
 arch/s390/include/uapi/asm/sockios.h            |    6 ---
 arch/s390/include/uapi/asm/termbits.h           |    6 ---
 arch/score/include/asm/Kbuild                   |   44 ++++++++++++++++++++++
 arch/score/include/asm/bitsperlong.h            |    6 ---
 arch/score/include/asm/bugs.h                   |    6 ---
 arch/score/include/asm/cputime.h                |    6 ---
 arch/score/include/asm/current.h                |    6 ---
 arch/score/include/asm/device.h                 |    6 ---
 arch/score/include/asm/div64.h                  |    6 ---
 arch/score/include/asm/emergency-restart.h      |    6 ---
 arch/score/include/asm/errno.h                  |    6 ---
 arch/score/include/asm/fcntl.h                  |    6 ---
 arch/score/include/asm/futex.h                  |    6 ---
 arch/score/include/asm/hardirq.h                |    6 ---
 arch/score/include/asm/ioctl.h                  |    6 ---
 arch/score/include/asm/ioctls.h                 |    6 ---
 arch/score/include/asm/ipcbuf.h                 |    6 ---
 arch/score/include/asm/kdebug.h                 |    6 ---
 arch/score/include/asm/kmap_types.h             |    6 ---
 arch/score/include/asm/kvm_para.h               |    1 -
 arch/score/include/asm/local.h                  |    6 ---
 arch/score/include/asm/local64.h                |    1 -
 arch/score/include/asm/mman.h                   |    6 ---
 arch/score/include/asm/msgbuf.h                 |    6 ---
 arch/score/include/asm/param.h                  |    6 ---
 arch/score/include/asm/percpu.h                 |    6 ---
 arch/score/include/asm/poll.h                   |    6 ---
 arch/score/include/asm/posix_types.h            |    6 ---
 arch/score/include/asm/resource.h               |    6 ---
 arch/score/include/asm/scatterlist.h            |    6 ---
 arch/score/include/asm/sections.h               |    6 ---
 arch/score/include/asm/sembuf.h                 |    6 ---
 arch/score/include/asm/shmbuf.h                 |    6 ---
 arch/score/include/asm/shmparam.h               |    6 ---
 arch/score/include/asm/siginfo.h                |    6 ---
 arch/score/include/asm/signal.h                 |    6 ---
 arch/score/include/asm/socket.h                 |    6 ---
 arch/score/include/asm/sockios.h                |    6 ---
 arch/score/include/asm/stat.h                   |    6 ---
 arch/score/include/asm/statfs.h                 |    6 ---
 arch/score/include/asm/swab.h                   |    6 ---
 arch/score/include/asm/termbits.h               |    6 ---
 arch/score/include/asm/termios.h                |    6 ---
 arch/score/include/asm/topology.h               |    6 ---
 arch/score/include/asm/types.h                  |    6 ---
 arch/score/include/asm/ucontext.h               |    1 -
 arch/score/include/asm/unaligned.h              |    6 ---
 arch/sparc/include/asm/Kbuild                   |    5 +++
 arch/sparc/include/asm/cputime.h                |    6 ---
 arch/sparc/include/asm/emergency-restart.h      |    6 ---
 arch/sparc/include/asm/kmap_types.h             |   10 -----
 arch/sparc/include/uapi/asm/kvm_para.h          |    1 -
 arch/sparc/include/uapi/asm/statfs.h            |    6 ---
 arch/tile/include/asm/Kbuild                    |    1 +
 arch/tile/include/asm/kvm_para.h                |    1 -
 arch/um/include/asm/Kbuild                      |    2 +-
 arch/um/include/asm/kvm_para.h                  |    1 -
 arch/unicore32/include/asm/Kbuild               |    1 +
 arch/unicore32/include/asm/kvm_para.h           |    1 -
 arch/x86/include/asm/Kbuild                     |   18 +++++++++
 arch/x86/include/asm/cputime.h                  |    1 -
 arch/x86/include/asm/errno.h                    |    1 -
 arch/x86/include/asm/fcntl.h                    |    1 -
 arch/x86/include/asm/ioctl.h                    |    1 -
 arch/x86/include/asm/ioctls.h                   |    1 -
 arch/x86/include/asm/ipcbuf.h                   |    1 -
 arch/x86/include/asm/local64.h                  |    1 -
 arch/x86/include/asm/msgbuf.h                   |    1 -
 arch/x86/include/asm/param.h                    |    1 -
 arch/x86/include/asm/poll.h                     |    1 -
 arch/x86/include/asm/resource.h                 |    1 -
 arch/x86/include/asm/rtc.h                      |    1 -
 arch/x86/include/asm/shmbuf.h                   |    1 -
 arch/x86/include/asm/socket.h                   |    1 -
 arch/x86/include/asm/sockios.h                  |    1 -
 arch/x86/include/asm/termbits.h                 |    1 -
 arch/x86/include/asm/termios.h                  |    1 -
 arch/x86/include/asm/types.h                    |    6 ---
 arch/xtensa/include/asm/Kbuild                  |   25 ++++++++++++
 arch/xtensa/include/asm/bitsperlong.h           |    1 -
 arch/xtensa/include/asm/bug.h                   |   18 ---------
 arch/xtensa/include/asm/cputime.h               |    6 ---
 arch/xtensa/include/asm/device.h                |    7 ----
 arch/xtensa/include/asm/div64.h                 |   16 --------
 arch/xtensa/include/asm/emergency-restart.h     |    6 ---
 arch/xtensa/include/asm/errno.h                 |   16 --------
 arch/xtensa/include/asm/fcntl.h                 |    1 -
 arch/xtensa/include/asm/futex.h                 |    1 -
 arch/xtensa/include/asm/hardirq.h               |   16 --------
 arch/xtensa/include/asm/ioctl.h                 |    1 -
 arch/xtensa/include/asm/irq_regs.h              |    1 -
 arch/xtensa/include/asm/kdebug.h                |    1 -
 arch/xtensa/include/asm/kmap_types.h            |    6 ---
 arch/xtensa/include/asm/kvm_para.h              |    1 -
 arch/xtensa/include/asm/local.h                 |   16 --------
 arch/xtensa/include/asm/local64.h               |    1 -
 arch/xtensa/include/asm/percpu.h                |   16 --------
 arch/xtensa/include/asm/resource.h              |   16 --------
 arch/xtensa/include/asm/scatterlist.h           |   16 --------
 arch/xtensa/include/asm/sections.h              |   16 --------
 arch/xtensa/include/asm/siginfo.h               |   16 --------
 arch/xtensa/include/asm/statfs.h                |   17 ---------
 arch/xtensa/include/asm/topology.h              |   16 --------
 arch/xtensa/include/asm/xor.h                   |   16 --------
 390 files changed, 369 insertions(+), 1378 deletions(-)