asm-generic: Convert all to use Kbuild file
Subsystems (18)
cover 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(-)
PATCH 1/25 alpha: Use Kbuild infrastructure to handle asm-generic headers
From: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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 ------- 13 files changed, 12 insertions(+), 39 deletions(-) delete mode 100644 arch/alpha/include/asm/cputime.h delete mode 100644 arch/alpha/include/asm/device.h delete mode 100644 arch/alpha/include/asm/div64.h delete mode 100644 arch/alpha/include/asm/emergency-restart.h delete mode 100644 arch/alpha/include/asm/ipcbuf.h delete mode 100644 arch/alpha/include/asm/irq_regs.h delete mode 100644 arch/alpha/include/asm/kdebug.h delete mode 100644 arch/alpha/include/asm/kvm_para.h delete mode 100644 arch/alpha/include/asm/local64.h delete mode 100644 arch/alpha/include/asm/poll.h delete mode 100644 arch/alpha/include/asm/scatterlist.h delete mode 100644 arch/alpha/include/asm/sections.h
arch/alpha/include/asm/Kbuild +12 -0
@@ -10,4 +10,16 @@ header-y += pal.h header-y += reg.h header-y += regdef.h header-y += sysinfo.h +generic-y += cputime.h generic-y += exec.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += ipcbuf.h +generic-y += irq_regs.h +generic-y += kdebug.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += poll.h +generic-y += scatterlist.h +generic-y += sections.h
arch/alpha/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ALPHA_CPUTIME_H -#define __ALPHA_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __ALPHA_CPUTIME_H */
arch/alpha/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/alpha/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/alpha/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/alpha/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
arch/alpha/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/alpha/include/asm/kdebug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kdebug.h>
arch/alpha/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/alpha/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/alpha/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/alpha/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ALPHA_SCATTERLIST_H -#define _ALPHA_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* !(_ALPHA_SCATTERLIST_H) */
arch/alpha/include/asm/sections.h deleted +0 -7
@@ -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.7.10.4
PATCH 2/25 arm: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- arch/arm/include/asm/Kbuild | 2 ++ arch/arm/include/asm/kvm_para.h | 1 - arch/avr32/include/asm/ipcbuf.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 arch/arm/include/asm/kvm_para.h delete mode 100644 arch/avr32/include/asm/ipcbuf.h
arch/arm/include/asm/Kbuild +2 -0
@@ -13,6 +13,7 @@ generic-y += ioctl.h generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h +generic-y += kvm_para.h generic-y += local.h generic-y += local64.h generic-y += msgbuf.h
@@ -35,3 +36,4 @@ generic-y += termios.h generic-y += timex.h generic-y += types.h generic-y += unaligned.h +generic-y += ipcbuf.h
arch/arm/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/avr32/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
PATCH 3/25 avr32: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/cris/include/asm/ipcbuf.h | 1 - 27 files changed, 27 insertions(+), 117 deletions(-) delete mode 100644 arch/avr32/include/asm/bitsperlong.h delete mode 100644 arch/avr32/include/asm/cputime.h delete mode 100644 arch/avr32/include/asm/delay.h delete mode 100644 arch/avr32/include/asm/device.h delete mode 100644 arch/avr32/include/asm/div64.h delete mode 100644 arch/avr32/include/asm/emergency-restart.h delete mode 100644 arch/avr32/include/asm/errno.h delete mode 100644 arch/avr32/include/asm/fcntl.h delete mode 100644 arch/avr32/include/asm/futex.h delete mode 100644 arch/avr32/include/asm/ioctl.h delete mode 100644 arch/avr32/include/asm/ioctls.h delete mode 100644 arch/avr32/include/asm/irq_regs.h delete mode 100644 arch/avr32/include/asm/kvm_para.h delete mode 100644 arch/avr32/include/asm/local.h delete mode 100644 arch/avr32/include/asm/local64.h delete mode 100644 arch/avr32/include/asm/mman.h delete mode 100644 arch/avr32/include/asm/percpu.h delete mode 100644 arch/avr32/include/asm/poll.h delete mode 100644 arch/avr32/include/asm/resource.h delete mode 100644 arch/avr32/include/asm/scatterlist.h delete mode 100644 arch/avr32/include/asm/sections.h delete mode 100644 arch/avr32/include/asm/siginfo.h delete mode 100644 arch/avr32/include/asm/statfs.h delete mode 100644 arch/avr32/include/asm/topology.h delete mode 100644 arch/avr32/include/asm/xor.h delete mode 100644 arch/cris/include/asm/ipcbuf.h
arch/avr32/include/asm/Kbuild +27 -0
@@ -4,3 +4,30 @@ generic-y += clkdev.h generic-y += exec.h header-y += cachectl.h + +generic-y += bitsperlong.h +generic-y += cputime.h +generic-y += delay.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += futex.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += irq_regs.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += mman.h +generic-y += percpu.h +generic-y += poll.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += siginfo.h +generic-y += statfs.h +generic-y += topology.h +generic-y += xor.h
arch/avr32/include/asm/bitsperlong.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h>
arch/avr32/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_CPUTIME_H -#define __ASM_AVR32_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __ASM_AVR32_CPUTIME_H */
arch/avr32/include/asm/delay.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/delay.h>
arch/avr32/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/avr32/include/asm/div64.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_DIV64_H -#define __ASM_AVR32_DIV64_H - -#include <asm-generic/div64.h> - -#endif /* __ASM_AVR32_DIV64_H */
arch/avr32/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_EMERGENCY_RESTART_H -#define __ASM_AVR32_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* __ASM_AVR32_EMERGENCY_RESTART_H */
arch/avr32/include/asm/errno.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_ERRNO_H -#define __ASM_AVR32_ERRNO_H - -#include <asm-generic/errno.h> - -#endif /* __ASM_AVR32_ERRNO_H */
arch/avr32/include/asm/fcntl.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_FCNTL_H -#define __ASM_AVR32_FCNTL_H - -#include <asm-generic/fcntl.h> - -#endif /* __ASM_AVR32_FCNTL_H */
arch/avr32/include/asm/futex.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_FUTEX_H -#define __ASM_AVR32_FUTEX_H - -#include <asm-generic/futex.h> - -#endif /* __ASM_AVR32_FUTEX_H */
arch/avr32/include/asm/ioctl.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_IOCTL_H -#define __ASM_AVR32_IOCTL_H - -#include <asm-generic/ioctl.h> - -#endif /* __ASM_AVR32_IOCTL_H */
arch/avr32/include/asm/ioctls.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_IOCTLS_H -#define __ASM_AVR32_IOCTLS_H - -#include <asm-generic/ioctls.h> - -#endif /* __ASM_AVR32_IOCTLS_H */
arch/avr32/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/avr32/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/avr32/include/asm/local.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_LOCAL_H -#define __ASM_AVR32_LOCAL_H - -#include <asm-generic/local.h> - -#endif /* __ASM_AVR32_LOCAL_H */
arch/avr32/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/avr32/include/asm/mman.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/mman.h>
arch/avr32/include/asm/percpu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_PERCPU_H -#define __ASM_AVR32_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif /* __ASM_AVR32_PERCPU_H */
arch/avr32/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/avr32/include/asm/resource.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_RESOURCE_H -#define __ASM_AVR32_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif /* __ASM_AVR32_RESOURCE_H */
arch/avr32/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_SCATTERLIST_H -#define __ASM_AVR32_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* __ASM_AVR32_SCATTERLIST_H */
arch/avr32/include/asm/sections.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_SECTIONS_H -#define __ASM_AVR32_SECTIONS_H - -#include <asm-generic/sections.h> - -#endif /* __ASM_AVR32_SECTIONS_H */
arch/avr32/include/asm/siginfo.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _AVR32_SIGINFO_H -#define _AVR32_SIGINFO_H - -#include <asm-generic/siginfo.h> - -#endif
arch/avr32/include/asm/statfs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_STATFS_H -#define __ASM_AVR32_STATFS_H - -#include <asm-generic/statfs.h> - -#endif /* __ASM_AVR32_STATFS_H */
arch/avr32/include/asm/topology.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_TOPOLOGY_H -#define __ASM_AVR32_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* __ASM_AVR32_TOPOLOGY_H */
arch/avr32/include/asm/xor.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_XOR_H -#define _ASM_XOR_H - -#include <asm-generic/xor.h> - -#endif
arch/cris/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
Re: [PATCH 03/25] avr32: Use Kbuild infrastructure to handle asm-generic headers
Around Fri 12 Oct 2012 22:26:35 -0400 or thereabout, Steven Rostedt wrote:
Hello Steven,
Quoted 5 lines
Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Thank you for cleaning. A bit old this patch (yikes, almost a year), but I cleaned it up a bit, and added it to my for-linus branch.
Quoted 368 lines
Cc Haavard Skinnemoen <[email protected]>Cc Hans-Christian Egtvedt <[email protected]>Signed-off-by Steven Rostedt <[email protected]>--- 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/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/cris/include/asm/ipcbuf.h | 1 - 27 files changed, 27 insertions(+), 117 deletions(-) delete mode 100644 arch/avr32/include/asm/bitsperlong.h delete mode 100644 arch/avr32/include/asm/cputime.h delete mode 100644 arch/avr32/include/asm/delay.h delete mode 100644 arch/avr32/include/asm/device.h delete mode 100644 arch/avr32/include/asm/div64.h delete mode 100644 arch/avr32/include/asm/emergency-restart.h delete mode 100644 arch/avr32/include/asm/errno.h delete mode 100644 arch/avr32/include/asm/fcntl.h delete mode 100644 arch/avr32/include/asm/futex.h delete mode 100644 arch/avr32/include/asm/ioctl.h delete mode 100644 arch/avr32/include/asm/ioctls.h delete mode 100644 arch/avr32/include/asm/irq_regs.h delete mode 100644 arch/avr32/include/asm/kvm_para.h delete mode 100644 arch/avr32/include/asm/local.h delete mode 100644 arch/avr32/include/asm/local64.h delete mode 100644 arch/avr32/include/asm/mman.h delete mode 100644 arch/avr32/include/asm/percpu.h delete mode 100644 arch/avr32/include/asm/poll.h delete mode 100644 arch/avr32/include/asm/resource.h delete mode 100644 arch/avr32/include/asm/scatterlist.h delete mode 100644 arch/avr32/include/asm/sections.h delete mode 100644 arch/avr32/include/asm/siginfo.h delete mode 100644 arch/avr32/include/asm/statfs.h delete mode 100644 arch/avr32/include/asm/topology.h delete mode 100644 arch/avr32/include/asm/xor.h delete mode 100644 arch/cris/include/asm/ipcbuf.harch/avr32/include/asm/Kbuild +27
-0@@ -4,3 +4,30 @@ generic-y += clkdev.h generic-y += exec.h header-y += cachectl.h + +generic-y += bitsperlong.h +generic-y += cputime.h +generic-y += delay.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += futex.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += irq_regs.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += mman.h +generic-y += percpu.h +generic-y += poll.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += siginfo.h +generic-y += statfs.h +generic-y += topology.h +generic-y += xor.harch/avr32/include/asm/bitsperlong.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h> arch/avr32/include/asm/cputime.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_CPUTIME_H -#define __ASM_AVR32_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __ASM_AVR32_CPUTIME_H */ arch/avr32/include/asm/delay.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/delay.h> arch/avr32/include/asm/device.h deleted +0
-7@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -arch/avr32/include/asm/div64.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_DIV64_H -#define __ASM_AVR32_DIV64_H - -#include <asm-generic/div64.h> - -#endif /* __ASM_AVR32_DIV64_H */ arch/avr32/include/asm/emergency-restart.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_EMERGENCY_RESTART_H -#define __ASM_AVR32_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* __ASM_AVR32_EMERGENCY_RESTART_H */ arch/avr32/include/asm/errno.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_ERRNO_H -#define __ASM_AVR32_ERRNO_H - -#include <asm-generic/errno.h> - -#endif /* __ASM_AVR32_ERRNO_H */ arch/avr32/include/asm/fcntl.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_FCNTL_H -#define __ASM_AVR32_FCNTL_H - -#include <asm-generic/fcntl.h> - -#endif /* __ASM_AVR32_FCNTL_H */ arch/avr32/include/asm/futex.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_FUTEX_H -#define __ASM_AVR32_FUTEX_H - -#include <asm-generic/futex.h> - -#endif /* __ASM_AVR32_FUTEX_H */ arch/avr32/include/asm/ioctl.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_IOCTL_H -#define __ASM_AVR32_IOCTL_H - -#include <asm-generic/ioctl.h> - -#endif /* __ASM_AVR32_IOCTL_H */ arch/avr32/include/asm/ioctls.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_IOCTLS_H -#define __ASM_AVR32_IOCTLS_H - -#include <asm-generic/ioctls.h> - -#endif /* __ASM_AVR32_IOCTLS_H */ arch/avr32/include/asm/irq_regs.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h> arch/avr32/include/asm/kvm_para.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h> arch/avr32/include/asm/local.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_LOCAL_H -#define __ASM_AVR32_LOCAL_H - -#include <asm-generic/local.h> - -#endif /* __ASM_AVR32_LOCAL_H */ arch/avr32/include/asm/local64.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/local64.h> arch/avr32/include/asm/mman.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/mman.h> arch/avr32/include/asm/percpu.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_PERCPU_H -#define __ASM_AVR32_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif /* __ASM_AVR32_PERCPU_H */ arch/avr32/include/asm/poll.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/poll.h> arch/avr32/include/asm/resource.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_RESOURCE_H -#define __ASM_AVR32_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif /* __ASM_AVR32_RESOURCE_H */ arch/avr32/include/asm/scatterlist.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_SCATTERLIST_H -#define __ASM_AVR32_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* __ASM_AVR32_SCATTERLIST_H */ arch/avr32/include/asm/sections.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_SECTIONS_H -#define __ASM_AVR32_SECTIONS_H - -#include <asm-generic/sections.h> - -#endif /* __ASM_AVR32_SECTIONS_H */ arch/avr32/include/asm/siginfo.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _AVR32_SIGINFO_H -#define _AVR32_SIGINFO_H - -#include <asm-generic/siginfo.h> - -#endif arch/avr32/include/asm/statfs.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_STATFS_H -#define __ASM_AVR32_STATFS_H - -#include <asm-generic/statfs.h> - -#endif /* __ASM_AVR32_STATFS_H */ arch/avr32/include/asm/topology.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_TOPOLOGY_H -#define __ASM_AVR32_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* __ASM_AVR32_TOPOLOGY_H */ arch/avr32/include/asm/xor.h deleted +0
-6@@ -1,6 +0,0 @@ -#ifndef _ASM_XOR_H -#define _ASM_XOR_H - -#include <asm-generic/xor.h> - -#endif arch/cris/include/asm/ipcbuf.h deleted +0
-1@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 2 lines
mvh Hans-Christian Egtvedt
Re: [PATCH 03/25] avr32: Use Kbuild infrastructure to handle asm-generic headers
Quoted 4 lines · On Sun, 1 Sep 2013 22:55:51 +0200 Hans-Christian Egtvedt…
Around Fri 12 Oct 2012 22:26:35 -0400 or thereabout, Steven Rostedt wrote:
Hello Steven,
Quoted 9 lines
Quoted 5 lines
Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Thank you for cleaning. A bit old this patch (yikes, almost a year), but I cleaned it up a bit, and added it to my for-linus branch.
Thanks,
-- Steve
PATCH 4/25 blackfin: Use Kbuild infrastructure for kvm_para.h
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers.
--- arch/blackfin/include/asm/Kbuild | 1 + arch/blackfin/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 arch/blackfin/include/asm/kvm_para.h
arch/blackfin/include/asm/Kbuild +1 -0
@@ -17,6 +17,7 @@ generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += kmap_types.h +generic-y += kvm_para.h generic-y += local64.h generic-y += local.h generic-y += mman.h
arch/blackfin/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
Signature · 1 line
1.7.10.4
Re: [PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h
Quoted 4 lines · On Friday 12 October 2012 22:26:36 Steven Rostedt wrote:
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.
-mike
Re: [PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h
Quoted 8 lines · Mike Frysinger
Quoted 4 lines · On Friday 12 October 2012 22:26:36 Steven Rostedt wrote:
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.Acked-by Mike Frysinger <[email protected]>-mike
Thanks Mike,
Would you want to pull this patch into your tree? It's not dependent on any of the other patches.
-- Steve
Re: [PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h
Hi Steven,
Quoted 7 lines · Steven Rostedt
Quoted 6 lines · Mike Frysinger
Quoted 4 lines · On Friday 12 October 2012 22:26:36 Steven Rostedt wrote:
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.
Quoted 8 lines
Quoted 2 lines
Acked-by Mike Frysinger <[email protected]>-mike
Thanks Mike,
Would you want to pull this patch into your tree? It's not dependent on any of the other patches.
I'll apply this patch to blackfin git tree on Monday.
Thanks,
--Bob
PATCH 5/25 c6x: Use Kbuild infrastructure for kvm_para.h
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers.
--- arch/c6x/include/asm/Kbuild | 1 + arch/c6x/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 arch/c6x/include/asm/kvm_para.h
arch/c6x/include/asm/Kbuild +1 -0
@@ -24,6 +24,7 @@ generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += kmap_types.h +generic-y += kvm_para.h generic-y += local.h generic-y += mman.h generic-y += mmu_context.h
arch/c6x/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
Signature · 1 line
1.7.10.4
PATCH 6/25 cris: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/ipcbuf.h | 1 - 25 files changed, 24 insertions(+), 95 deletions(-) delete mode 100644 arch/cris/include/asm/bitsperlong.h delete mode 100644 arch/cris/include/asm/cputime.h delete mode 100644 arch/cris/include/asm/device.h delete mode 100644 arch/cris/include/asm/div64.h delete mode 100644 arch/cris/include/asm/emergency-restart.h delete mode 100644 arch/cris/include/asm/errno.h delete mode 100644 arch/cris/include/asm/fcntl.h delete mode 100644 arch/cris/include/asm/futex.h delete mode 100644 arch/cris/include/asm/ioctl.h delete mode 100644 arch/cris/include/asm/irq_regs.h delete mode 100644 arch/cris/include/asm/kdebug.h delete mode 100644 arch/cris/include/asm/kmap_types.h delete mode 100644 arch/cris/include/asm/local.h delete mode 100644 arch/cris/include/asm/local64.h delete mode 100644 arch/cris/include/asm/mman.h delete mode 100644 arch/cris/include/asm/percpu.h delete mode 100644 arch/cris/include/asm/poll.h delete mode 100644 arch/cris/include/asm/resource.h delete mode 100644 arch/cris/include/asm/scatterlist.h delete mode 100644 arch/cris/include/asm/sections.h delete mode 100644 arch/cris/include/asm/siginfo.h delete mode 100644 arch/cris/include/asm/statfs.h delete mode 100644 arch/cris/include/asm/topology.h delete mode 100644 arch/frv/include/asm/ipcbuf.h
arch/cris/include/asm/Kbuild +24 -0
@@ -8,5 +8,29 @@ header-y += etraxgpio.h header-y += rs485.h header-y += sync_serial.h +generic-y += bitsperlong.h generic-y += clkdev.h +generic-y += cputime.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h generic-y += exec.h +generic-y += fcntl.h +generic-y += futex.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += irq_regs.h +generic-y += kdebug.h +generic-y += kmap_types.h +generic-y += local64.h +generic-y += local.h +generic-y += mman.h +generic-y += percpu.h +generic-y += poll.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += siginfo.h +generic-y += statfs.h +generic-y += topology.h
arch/cris/include/asm/bitsperlong.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h>
arch/cris/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __CRIS_CPUTIME_H -#define __CRIS_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __CRIS_CPUTIME_H */
arch/cris/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/cris/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/cris/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/cris/include/asm/errno.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _CRIS_ERRNO_H -#define _CRIS_ERRNO_H - -#include <asm-generic/errno.h> - -#endif
arch/cris/include/asm/fcntl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fcntl.h>
arch/cris/include/asm/futex.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_FUTEX_H -#define _ASM_FUTEX_H - -#include <asm-generic/futex.h> - -#endif
arch/cris/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/cris/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/cris/include/asm/kdebug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kdebug.h>
arch/cris/include/asm/kmap_types.h deleted +0 -10
@@ -1,10 +0,0 @@ -#ifndef _ASM_KMAP_TYPES_H -#define _ASM_KMAP_TYPES_H - -/* Dummy header just to define km_type. None of this -* is actually used on cris. -*/ - -#include <asm-generic/kmap_types.h> - -#endif
arch/cris/include/asm/local.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local.h>
arch/cris/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/cris/include/asm/mman.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/mman.h>
arch/cris/include/asm/percpu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _CRIS_PERCPU_H -#define _CRIS_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif /* _CRIS_PERCPU_H */
arch/cris/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/cris/include/asm/resource.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _CRIS_RESOURCE_H -#define _CRIS_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif
arch/cris/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_CRIS_SCATTERLIST_H -#define __ASM_CRIS_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* !(__ASM_CRIS_SCATTERLIST_H) */
arch/cris/include/asm/sections.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _CRIS_SECTIONS_H -#define _CRIS_SECTIONS_H - -/* nothing to see, move along */ -#include <asm-generic/sections.h> - -#endif
arch/cris/include/asm/siginfo.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _CRIS_SIGINFO_H -#define _CRIS_SIGINFO_H - -#include <asm-generic/siginfo.h> - -#endif
arch/cris/include/asm/statfs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _CRIS_STATFS_H -#define _CRIS_STATFS_H - -#include <asm-generic/statfs.h> - -#endif
arch/cris/include/asm/topology.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_CRIS_TOPOLOGY_H -#define _ASM_CRIS_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* _ASM_CRIS_TOPOLOGY_H */
arch/frv/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
PATCH 7/25 frv: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/ipcbuf.h | 1 - 20 files changed, 19 insertions(+), 68 deletions(-) delete mode 100644 arch/frv/include/asm/bitsperlong.h delete mode 100644 arch/frv/include/asm/cputime.h delete mode 100644 arch/frv/include/asm/device.h delete mode 100644 arch/frv/include/asm/div64.h delete mode 100644 arch/frv/include/asm/emergency-restart.h delete mode 100644 arch/frv/include/asm/errno.h delete mode 100644 arch/frv/include/asm/fcntl.h delete mode 100644 arch/frv/include/asm/ioctl.h delete mode 100644 arch/frv/include/asm/kdebug.h delete mode 100644 arch/frv/include/asm/kvm_para.h delete mode 100644 arch/frv/include/asm/local.h delete mode 100644 arch/frv/include/asm/local64.h delete mode 100644 arch/frv/include/asm/mman.h delete mode 100644 arch/frv/include/asm/percpu.h delete mode 100644 arch/frv/include/asm/resource.h delete mode 100644 arch/frv/include/asm/scatterlist.h delete mode 100644 arch/frv/include/asm/statfs.h delete mode 100644 arch/frv/include/asm/xor.h delete mode 100644 arch/h8300/include/asm/ipcbuf.h
arch/frv/include/asm/Kbuild +19 -0
@@ -2,5 +2,24 @@ include include/asm-generic/Kbuild.asm header-y += registers.h header-y += termios.h +generic-y += bitsperlong.h generic-y += clkdev.h +generic-y += cputime.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h generic-y += exec.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += kdebug.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += mman.h +generic-y += percpu.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += statfs.h +generic-y += xor.h
arch/frv/include/asm/bitsperlong.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h>
arch/frv/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_CPUTIME_H -#define _ASM_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* _ASM_CPUTIME_H */
arch/frv/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/frv/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/frv/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/frv/include/asm/errno.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _ASM_ERRNO_H -#define _ASM_ERRNO_H - -#include <asm-generic/errno.h> - -#endif /* _ASM_ERRNO_H */ -
arch/frv/include/asm/fcntl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fcntl.h>
arch/frv/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/frv/include/asm/kdebug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kdebug.h>
arch/frv/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/frv/include/asm/local.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_LOCAL_H -#define _ASM_LOCAL_H - -#include <asm-generic/local.h> - -#endif /* _ASM_LOCAL_H */
arch/frv/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/frv/include/asm/mman.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/mman.h>
arch/frv/include/asm/percpu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_PERCPU_H -#define __ASM_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif /* __ASM_PERCPU_H */
arch/frv/include/asm/resource.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _ASM_RESOURCE_H -#define _ASM_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif /* _ASM_RESOURCE_H */ -
arch/frv/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCATTERLIST_H -#define _ASM_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* !_ASM_SCATTERLIST_H */
arch/frv/include/asm/statfs.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _ASM_STATFS_H -#define _ASM_STATFS_H - -#include <asm-generic/statfs.h> - -#endif /* _ASM_STATFS_H */ -
arch/frv/include/asm/xor.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/xor.h>
arch/h8300/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
PATCH 8/25 h8300: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/ia64/include/asm/ipcbuf.h | 1 - 24 files changed, 23 insertions(+), 94 deletions(-) delete mode 100644 arch/h8300/include/asm/bitsperlong.h delete mode 100644 arch/h8300/include/asm/cputime.h delete mode 100644 arch/h8300/include/asm/device.h delete mode 100644 arch/h8300/include/asm/div64.h delete mode 100644 arch/h8300/include/asm/emergency-restart.h delete mode 100644 arch/h8300/include/asm/errno.h delete mode 100644 arch/h8300/include/asm/futex.h delete mode 100644 arch/h8300/include/asm/ioctl.h delete mode 100644 arch/h8300/include/asm/irq_regs.h delete mode 100644 arch/h8300/include/asm/kdebug.h delete mode 100644 arch/h8300/include/asm/kmap_types.h delete mode 100644 arch/h8300/include/asm/kvm_para.h delete mode 100644 arch/h8300/include/asm/local.h delete mode 100644 arch/h8300/include/asm/local64.h delete mode 100644 arch/h8300/include/asm/mman.h delete mode 100644 arch/h8300/include/asm/percpu.h delete mode 100644 arch/h8300/include/asm/resource.h delete mode 100644 arch/h8300/include/asm/scatterlist.h delete mode 100644 arch/h8300/include/asm/sections.h delete mode 100644 arch/h8300/include/asm/siginfo.h delete mode 100644 arch/h8300/include/asm/statfs.h delete mode 100644 arch/h8300/include/asm/topology.h delete mode 100644 arch/ia64/include/asm/ipcbuf.h
arch/h8300/include/asm/Kbuild +23 -0
@@ -1,4 +1,27 @@ include include/asm-generic/Kbuild.asm +generic-y += bitsperlong.h +generic-y += cputime.h generic-y += clkdev.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h generic-y += exec.h +generic-y += futex.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += irq_regs.h +generic-y += kdebug.h +generic-y += kmap_types.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += mman.h +generic-y += percpu.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += siginfo.h +generic-y += statfs.h +generic-y += topology.h
arch/h8300/include/asm/bitsperlong.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h>
arch/h8300/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __H8300_CPUTIME_H -#define __H8300_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __H8300_CPUTIME_H */
arch/h8300/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/h8300/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/h8300/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/h8300/include/asm/errno.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _H8300_ERRNO_H -#define _H8300_ERRNO_H - -#include <asm-generic/errno.h> - -#endif /* _H8300_ERRNO_H */
arch/h8300/include/asm/futex.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_FUTEX_H -#define _ASM_FUTEX_H - -#include <asm-generic/futex.h> - -#endif
arch/h8300/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/h8300/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/h8300/include/asm/kdebug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kdebug.h>
arch/h8300/include/asm/kmap_types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_H8300_KMAP_TYPES_H -#define _ASM_H8300_KMAP_TYPES_H - -#include <asm-generic/kmap_types.h> - -#endif
arch/h8300/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/h8300/include/asm/local.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _H8300_LOCAL_H_ -#define _H8300_LOCAL_H_ - -#include <asm-generic/local.h> - -#endif
arch/h8300/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/h8300/include/asm/mman.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/mman.h>
arch/h8300/include/asm/percpu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ARCH_H8300_PERCPU__ -#define __ARCH_H8300_PERCPU__ - -#include <asm-generic/percpu.h> - -#endif /* __ARCH_H8300_PERCPU__ */
arch/h8300/include/asm/resource.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _H8300_RESOURCE_H -#define _H8300_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif /* _H8300_RESOURCE_H */
arch/h8300/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _H8300_SCATTERLIST_H -#define _H8300_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* !(_H8300_SCATTERLIST_H) */
arch/h8300/include/asm/sections.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _H8300_SECTIONS_H_ -#define _H8300_SECTIONS_H_ - -#include <asm-generic/sections.h> - -#endif
arch/h8300/include/asm/siginfo.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _H8300_SIGINFO_H -#define _H8300_SIGINFO_H - -#include <asm-generic/siginfo.h> - -#endif
arch/h8300/include/asm/statfs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _H8300_STATFS_H -#define _H8300_STATFS_H - -#include <asm-generic/statfs.h> - -#endif /* _H8300_STATFS_H */
arch/h8300/include/asm/topology.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_H8300_TOPOLOGY_H -#define _ASM_H8300_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* _ASM_H8300_TOPOLOGY_H */
arch/ia64/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
PATCH 9/25 hexagon: Use Kbuild infrastructure for kvm_para.h
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers.
--- arch/hexagon/include/asm/Kbuild | 1 + arch/hexagon/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 arch/hexagon/include/asm/kvm_para.h
arch/hexagon/include/asm/Kbuild +1 -0
@@ -26,6 +26,7 @@ generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += kmap_types.h +generic-y += kvm_para.h generic-y += local64.h generic-y += local.h generic-y += local.h
arch/hexagon/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
Signature · 1 line
1.7.10.4
PATCH 10/25 ia64: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/ipcbuf.h | 1 - 11 files changed, 10 insertions(+), 20 deletions(-) delete mode 100644 arch/ia64/include/asm/div64.h delete mode 100644 arch/ia64/include/asm/emergency-restart.h delete mode 100644 arch/ia64/include/asm/errno.h delete mode 100644 arch/ia64/include/asm/ioctl.h delete mode 100644 arch/ia64/include/asm/ioctls.h delete mode 100644 arch/ia64/include/asm/irq_regs.h delete mode 100644 arch/ia64/include/asm/local.h delete mode 100644 arch/ia64/include/asm/local64.h delete mode 100644 arch/ia64/include/asm/poll.h delete mode 100644 arch/m32r/include/asm/ipcbuf.h
arch/ia64/include/asm/Kbuild +10 -0
@@ -14,4 +14,14 @@ header-y += rse.h header-y += ucontext.h header-y += ustack.h generic-y += clkdev.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h generic-y += exec.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += irq_regs.h +generic-y += local64.h +generic-y += local.h +generic-y += poll.h
arch/ia64/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/ia64/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/ia64/include/asm/errno.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/errno.h>
arch/ia64/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/ia64/include/asm/ioctls.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_IA64_IOCTLS_H -#define _ASM_IA64_IOCTLS_H - -#include <asm-generic/ioctls.h> - -#endif /* _ASM_IA64_IOCTLS_H */
arch/ia64/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/ia64/include/asm/local.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local.h>
arch/ia64/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/ia64/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/m32r/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
PATCH 11/25 m32r: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/ipcbuf.h | 1 - 29 files changed, 28 insertions(+), 114 deletions(-) delete mode 100644 arch/m32r/include/asm/bitsperlong.h delete mode 100644 arch/m32r/include/asm/bug.h delete mode 100644 arch/m32r/include/asm/cputime.h delete mode 100644 arch/m32r/include/asm/delay.h delete mode 100644 arch/m32r/include/asm/device.h delete mode 100644 arch/m32r/include/asm/div64.h delete mode 100644 arch/m32r/include/asm/emergency-restart.h delete mode 100644 arch/m32r/include/asm/errno.h delete mode 100644 arch/m32r/include/asm/fcntl.h delete mode 100644 arch/m32r/include/asm/futex.h delete mode 100644 arch/m32r/include/asm/ioctl.h delete mode 100644 arch/m32r/include/asm/ioctls.h delete mode 100644 arch/m32r/include/asm/irq_regs.h delete mode 100644 arch/m32r/include/asm/kdebug.h delete mode 100644 arch/m32r/include/asm/local64.h delete mode 100644 arch/m32r/include/asm/mman.h delete mode 100644 arch/m32r/include/asm/param.h delete mode 100644 arch/m32r/include/asm/pci.h delete mode 100644 arch/m32r/include/asm/percpu.h delete mode 100644 arch/m32r/include/asm/poll.h delete mode 100644 arch/m32r/include/asm/resource.h delete mode 100644 arch/m32r/include/asm/scatterlist.h delete mode 100644 arch/m32r/include/asm/sections.h delete mode 100644 arch/m32r/include/asm/siginfo.h delete mode 100644 arch/m32r/include/asm/statfs.h delete mode 100644 arch/m32r/include/asm/topology.h delete mode 100644 arch/m32r/include/asm/xor.h delete mode 100644 arch/microblaze/include/asm/ipcbuf.h
arch/m32r/include/asm/Kbuild +28 -0
@@ -1,4 +1,32 @@ include include/asm-generic/Kbuild.asm +generic-y += bitsperlong.h +generic-y += bug.h +generic-y += cputime.h generic-y += clkdev.h +generic-y += delay.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h generic-y += exec.h +generic-y += fcntl.h +generic-y += futex.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += irq_regs.h +generic-y += kdebug.h +generic-y += local64.h +generic-y += mman.h +generic-y += param.h +generic-y += pci.h +generic-y += percpu.h +generic-y += poll.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += siginfo.h +generic-y += statfs.h +generic-y += topology.h +generic-y += xor.h
arch/m32r/include/asm/bitsperlong.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h>
arch/m32r/include/asm/bug.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef _M32R_BUG_H -#define _M32R_BUG_H -#include <asm-generic/bug.h> -#endif
arch/m32r/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __M32R_CPUTIME_H -#define __M32R_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __M32R_CPUTIME_H */
arch/m32r/include/asm/delay.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/delay.h>
arch/m32r/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/m32r/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/m32r/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/m32r/include/asm/errno.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_M32R_ERRNO_H -#define _ASM_M32R_ERRNO_H - -#include <asm-generic/errno.h> - -#endif /* _ASM_M32R_ERRNO_H */
arch/m32r/include/asm/fcntl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fcntl.h>
arch/m32r/include/asm/futex.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_FUTEX_H -#define _ASM_FUTEX_H - -#include <asm-generic/futex.h> - -#endif
arch/m32r/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/m32r/include/asm/ioctls.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ARCH_M32R_IOCTLS_H__ -#define __ARCH_M32R_IOCTLS_H__ - -#include <asm-generic/ioctls.h> - -#endif /* __ARCH_M32R_IOCTLS_H__ */
arch/m32r/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/m32r/include/asm/kdebug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kdebug.h>
arch/m32r/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/m32r/include/asm/mman.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/mman.h>
arch/m32r/include/asm/param.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _ASM_M32R_PARAM_H -#define _ASM_M32R_PARAM_H - -#include <asm-generic/param.h> - -#endif /* _ASM_M32R_PARAM_H */ -
arch/m32r/include/asm/pci.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_M32R_PCI_H -#define _ASM_M32R_PCI_H - -#include <asm-generic/pci.h> - -#endif /* _ASM_M32R_PCI_H */
arch/m32r/include/asm/percpu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ARCH_M32R_PERCPU__ -#define __ARCH_M32R_PERCPU__ - -#include <asm-generic/percpu.h> - -#endif /* __ARCH_M32R_PERCPU__ */
arch/m32r/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/m32r/include/asm/resource.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_M32R_RESOURCE_H -#define _ASM_M32R_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif /* _ASM_M32R_RESOURCE_H */
arch/m32r/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_M32R_SCATTERLIST_H -#define _ASM_M32R_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* _ASM_M32R_SCATTERLIST_H */
arch/m32r/include/asm/sections.h deleted +0 -7
@@ -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 */
arch/m32r/include/asm/siginfo.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _M32R_SIGINFO_H -#define _M32R_SIGINFO_H - -#include <asm-generic/siginfo.h> - -#endif /* _M32R_SIGINFO_H */
arch/m32r/include/asm/statfs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_M32R_STATFS_H -#define _ASM_M32R_STATFS_H - -#include <asm-generic/statfs.h> - -#endif /* _ASM_M32R_STATFS_H */
arch/m32r/include/asm/topology.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_M32R_TOPOLOGY_H -#define _ASM_M32R_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* _ASM_M32R_TOPOLOGY_H */
arch/m32r/include/asm/xor.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_M32R_XOR_H -#define _ASM_M32R_XOR_H - -#include <asm-generic/xor.h> - -#endif /* _ASM_M32R_XOR_H */
arch/microblaze/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
PATCH 12/25 microblaze: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/ipcbuf.h | 1 - 47 files changed, 46 insertions(+), 51 deletions(-) delete mode 100644 arch/microblaze/include/asm/bitops.h delete mode 100644 arch/microblaze/include/asm/bitsperlong.h delete mode 100644 arch/microblaze/include/asm/bug.h delete mode 100644 arch/microblaze/include/asm/bugs.h delete mode 100644 arch/microblaze/include/asm/cputime.h delete mode 100644 arch/microblaze/include/asm/div64.h delete mode 100644 arch/microblaze/include/asm/emergency-restart.h delete mode 100644 arch/microblaze/include/asm/errno.h delete mode 100644 arch/microblaze/include/asm/fb.h delete mode 100644 arch/microblaze/include/asm/fcntl.h delete mode 100644 arch/microblaze/include/asm/hardirq.h delete mode 100644 arch/microblaze/include/asm/ioctl.h delete mode 100644 arch/microblaze/include/asm/ioctls.h delete mode 100644 arch/microblaze/include/asm/irq_regs.h delete mode 100644 arch/microblaze/include/asm/kdebug.h delete mode 100644 arch/microblaze/include/asm/kmap_types.h delete mode 100644 arch/microblaze/include/asm/kvm_para.h delete mode 100644 arch/microblaze/include/asm/local.h delete mode 100644 arch/microblaze/include/asm/local64.h delete mode 100644 arch/microblaze/include/asm/mman.h delete mode 100644 arch/microblaze/include/asm/msgbuf.h delete mode 100644 arch/microblaze/include/asm/param.h delete mode 100644 arch/microblaze/include/asm/parport.h delete mode 100644 arch/microblaze/include/asm/percpu.h delete mode 100644 arch/microblaze/include/asm/poll.h delete mode 100644 arch/microblaze/include/asm/resource.h delete mode 100644 arch/microblaze/include/asm/scatterlist.h delete mode 100644 arch/microblaze/include/asm/sembuf.h delete mode 100644 arch/microblaze/include/asm/serial.h delete mode 100644 arch/microblaze/include/asm/shmbuf.h delete mode 100644 arch/microblaze/include/asm/shmparam.h delete mode 100644 arch/microblaze/include/asm/siginfo.h delete mode 100644 arch/microblaze/include/asm/signal.h delete mode 100644 arch/microblaze/include/asm/socket.h delete mode 100644 arch/microblaze/include/asm/sockios.h delete mode 100644 arch/microblaze/include/asm/stat.h delete mode 100644 arch/microblaze/include/asm/statfs.h delete mode 100644 arch/microblaze/include/asm/swab.h delete mode 100644 arch/microblaze/include/asm/termbits.h delete mode 100644 arch/microblaze/include/asm/termios.h delete mode 100644 arch/microblaze/include/asm/topology.h delete mode 100644 arch/microblaze/include/asm/types.h delete mode 100644 arch/microblaze/include/asm/ucontext.h delete mode 100644 arch/microblaze/include/asm/vga.h delete mode 100644 arch/microblaze/include/asm/xor.h delete mode 100644 arch/mips/include/asm/ipcbuf.h
arch/microblaze/include/asm/Kbuild +46 -0
@@ -1,5 +1,51 @@ include include/asm-generic/Kbuild.asm header-y += elf.h +generic-y += bitops.h +generic-y += bitsperlong.h +generic-y += bug.h +generic-y += bugs.h +generic-y += cputime.h generic-y += clkdev.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h generic-y += exec.h +generic-y += fb.h +generic-y += fcntl.h +generic-y += hardirq.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += irq_regs.h +generic-y += kdebug.h +generic-y += kmap_types.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += parport.h +generic-y += percpu.h +generic-y += poll.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sembuf.h +generic-y += serial.h +generic-y += shmbuf.h +generic-y += shmparam.h +generic-y += siginfo.h +generic-y += signal.h +generic-y += socket.h +generic-y += sockios.h +generic-y += statfs.h +generic-y += stat.h +generic-y += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += topology.h +generic-y += types.h +generic-y += ucontext.h +generic-y += vga.h +generic-y += xor.h
arch/microblaze/include/asm/bitops.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitops.h>
arch/microblaze/include/asm/bitsperlong.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h>
arch/microblaze/include/asm/bug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bug.h>
arch/microblaze/include/asm/bugs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bugs.h>
arch/microblaze/include/asm/cputime.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/cputime.h>
arch/microblaze/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/microblaze/include/asm/emergency-restart.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/emergency-restart.h>
arch/microblaze/include/asm/errno.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/errno.h>
arch/microblaze/include/asm/fb.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fb.h>
arch/microblaze/include/asm/fcntl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fcntl.h>
arch/microblaze/include/asm/hardirq.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/hardirq.h>
arch/microblaze/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/microblaze/include/asm/ioctls.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctls.h>
arch/microblaze/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/microblaze/include/asm/kdebug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kdebug.h>
arch/microblaze/include/asm/kmap_types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_MICROBLAZE_KMAP_TYPES_H -#define _ASM_MICROBLAZE_KMAP_TYPES_H - -#include <asm-generic/kmap_types.h> - -#endif /* _ASM_MICROBLAZE_KMAP_TYPES_H */
arch/microblaze/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/microblaze/include/asm/local.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local.h>
arch/microblaze/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/microblaze/include/asm/mman.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/mman.h>
arch/microblaze/include/asm/msgbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/msgbuf.h>
arch/microblaze/include/asm/param.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/param.h>
arch/microblaze/include/asm/parport.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/parport.h>
arch/microblaze/include/asm/percpu.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/percpu.h>
arch/microblaze/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/microblaze/include/asm/resource.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/resource.h>
arch/microblaze/include/asm/scatterlist.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/scatterlist.h>
arch/microblaze/include/asm/sembuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/sembuf.h>
arch/microblaze/include/asm/serial.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/serial.h>
arch/microblaze/include/asm/shmbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/shmbuf.h>
arch/microblaze/include/asm/shmparam.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/shmparam.h>
arch/microblaze/include/asm/siginfo.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/siginfo.h>
arch/microblaze/include/asm/signal.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/signal.h>
arch/microblaze/include/asm/socket.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/socket.h>
arch/microblaze/include/asm/sockios.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/sockios.h>
arch/microblaze/include/asm/stat.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/stat.h>
arch/microblaze/include/asm/statfs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/statfs.h>
arch/microblaze/include/asm/swab.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/swab.h>
arch/microblaze/include/asm/termbits.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/termbits.h>
arch/microblaze/include/asm/termios.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/termios.h>
arch/microblaze/include/asm/topology.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/topology.h>
arch/microblaze/include/asm/types.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/types.h>
arch/microblaze/include/asm/ucontext.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ucontext.h>
arch/microblaze/include/asm/vga.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/vga.h>
arch/microblaze/include/asm/xor.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/xor.h>
arch/mips/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
PATCH 13/25 mips: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/ipcbuf.h | 1 - 14 files changed, 14 insertions(+), 38 deletions(-) delete mode 100644 arch/mips/include/asm/cputime.h delete mode 100644 arch/mips/include/asm/current.h delete mode 100644 arch/mips/include/asm/emergency-restart.h delete mode 100644 arch/mips/include/asm/kvm_para.h delete mode 100644 arch/mips/include/asm/local64.h delete mode 100644 arch/mips/include/asm/parport.h delete mode 100644 arch/mips/include/asm/percpu.h delete mode 100644 arch/mips/include/asm/scatterlist.h delete mode 100644 arch/mips/include/asm/sections.h delete mode 100644 arch/mips/include/asm/serial.h delete mode 100644 arch/mips/include/asm/ucontext.h delete mode 100644 arch/mips/include/asm/xor.h delete mode 100644 arch/mn10300/include/asm/ipcbuf.h
arch/mips/include/asm/Kbuild +14 -0
@@ -3,3 +3,17 @@ include include/asm-generic/Kbuild.asm header-y += cachectl.h header-y += sgidefs.h header-y += sysmips.h + +generic-y += cputime.h +generic-y += current.h +generic-y += emergency-restart.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += parport.h +generic-y += percpu.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += serial.h +generic-y += ucontext.h +generic-y += xor.h
arch/mips/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __MIPS_CPUTIME_H -#define __MIPS_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __MIPS_CPUTIME_H */
arch/mips/include/asm/current.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/current.h>
arch/mips/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/mips/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/mips/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/mips/include/asm/parport.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/parport.h>
arch/mips/include/asm/percpu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_PERCPU_H -#define __ASM_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif /* __ASM_PERCPU_H */
arch/mips/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __ASM_SCATTERLIST_H -#define __ASM_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* __ASM_SCATTERLIST_H */
arch/mips/include/asm/sections.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SECTIONS_H -#define _ASM_SECTIONS_H - -#include <asm-generic/sections.h> - -#endif /* _ASM_SECTIONS_H */
arch/mips/include/asm/serial.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/serial.h>
arch/mips/include/asm/ucontext.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ucontext.h>
arch/mips/include/asm/xor.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/xor.h>
arch/mn10300/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
Re: [PATCH 13/25] mips: Use Kbuild infrastructure to handle asm-generic headers
Quoted 7 lines · Steven Rostedt
From: Steven Rostedt <[email protected]>
Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Hi Steven,
Please see "MIPS: use generic-y where possible" already queued in -next. cad3b624853b6f34f19693b9812df0d473a6fd40
https://patchwork.linux-mips.org/patch/5581/
Also note, as I said in the commit message:
Quoted 3 lines
We can't do the same for
uapi/asm/kvm_para.hbecause it's presence is explicitly checked ininclude/uapi/linux/Kbuildto decide whether to addkvm_para.hto header-y.
so I guess that may need fixing first before half of these patches can be accepted.
Cheers
James
Re: [PATCH 13/25] mips: Use Kbuild infrastructure to handle asm-generic headers
Quoted 10 lines · On Mon, 2 Sep 2013 09:55:57 +0100 James Hogan <[email protected]> wrote:
On 13/10/12 03:26, Steven Rostedt wrote:
Also note, as I said in the commit message:
Quoted 3 lines
We can't do the same for
uapi/asm/kvm_para.hbecause it's presence is explicitly checked ininclude/uapi/linux/Kbuildto decide whether to addkvm_para.hto header-y.so I guess that may need fixing first before half of these patches can be accepted.
Sure.
Thanks,
-- Steve
PATCH 14/25 mn10300: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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/x86/include/asm/ipcbuf.h | 1 - 24 files changed, 23 insertions(+), 48 deletions(-) delete mode 100644 arch/mn10300/include/asm/bitsperlong.h delete mode 100644 arch/mn10300/include/asm/cputime.h delete mode 100644 arch/mn10300/include/asm/device.h delete mode 100644 arch/mn10300/include/asm/emergency-restart.h delete mode 100644 arch/mn10300/include/asm/errno.h delete mode 100644 arch/mn10300/include/asm/fcntl.h delete mode 100644 arch/mn10300/include/asm/futex.h delete mode 100644 arch/mn10300/include/asm/ioctl.h delete mode 100644 arch/mn10300/include/asm/ioctls.h delete mode 100644 arch/mn10300/include/asm/kmap_types.h delete mode 100644 arch/mn10300/include/asm/kvm_para.h delete mode 100644 arch/mn10300/include/asm/local.h delete mode 100644 arch/mn10300/include/asm/local64.h delete mode 100644 arch/mn10300/include/asm/percpu.h delete mode 100644 arch/mn10300/include/asm/poll.h delete mode 100644 arch/mn10300/include/asm/resource.h delete mode 100644 arch/mn10300/include/asm/scatterlist.h delete mode 100644 arch/mn10300/include/asm/sections.h delete mode 100644 arch/mn10300/include/asm/siginfo.h delete mode 100644 arch/mn10300/include/asm/statfs.h delete mode 100644 arch/mn10300/include/asm/topology.h delete mode 100644 arch/mn10300/include/asm/xor.h delete mode 100644 arch/x86/include/asm/ipcbuf.h
arch/mn10300/include/asm/Kbuild +23 -0
@@ -1,4 +1,27 @@ include include/asm-generic/Kbuild.asm +generic-y += bitsperlong.h +generic-y += cputime.h generic-y += clkdev.h +generic-y += device.h +generic-y += emergency-restart.h +generic-y += errno.h generic-y += exec.h +generic-y += fcntl.h +generic-y += futex.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kmap_types.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += percpu.h +generic-y += poll.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += siginfo.h +generic-y += statfs.h +generic-y += topology.h +generic-y += xor.h
arch/mn10300/include/asm/bitsperlong.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h>
arch/mn10300/include/asm/cputime.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/cputime.h>
arch/mn10300/include/asm/device.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/device.h>
arch/mn10300/include/asm/emergency-restart.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/emergency-restart.h>
arch/mn10300/include/asm/errno.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/errno.h>
arch/mn10300/include/asm/fcntl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fcntl.h>
arch/mn10300/include/asm/futex.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/futex.h>
arch/mn10300/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/mn10300/include/asm/ioctls.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_IOCTLS_H -#define _ASM_IOCTLS_H - -#include <asm-generic/ioctls.h> - -#endif /* _ASM_IOCTLS_H */
arch/mn10300/include/asm/kmap_types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_KMAP_TYPES_H -#define _ASM_KMAP_TYPES_H - -#include <asm-generic/kmap_types.h> - -#endif /* _ASM_KMAP_TYPES_H */
arch/mn10300/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/mn10300/include/asm/local.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local.h>
arch/mn10300/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/mn10300/include/asm/percpu.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/percpu.h>
arch/mn10300/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/mn10300/include/asm/resource.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/resource.h>
arch/mn10300/include/asm/scatterlist.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* MN10300 Scatterlist definitions -* -* Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd. -* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public Licence -* as published by the Free Software Foundation; either version -* 2 of the Licence, or (at your option) any later version. -*/ -#ifndef _ASM_SCATTERLIST_H -#define _ASM_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* _ASM_SCATTERLIST_H */
arch/mn10300/include/asm/sections.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/sections.h>
arch/mn10300/include/asm/siginfo.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/siginfo.h>
arch/mn10300/include/asm/statfs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/statfs.h>
arch/mn10300/include/asm/topology.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/topology.h>
arch/mn10300/include/asm/xor.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/xor.h>
arch/x86/include/asm/ipcbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ipcbuf.h>
Signature · 1 line
1.7.10.4
PATCH 15/25 openrisc: Use Kbuild infrastructure for kvm_para.h
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers.
--- arch/openrisc/include/asm/Kbuild | 1 + arch/openrisc/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 arch/openrisc/include/asm/kvm_para.h
arch/openrisc/include/asm/Kbuild +1 -0
@@ -34,6 +34,7 @@ generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += kmap_types.h +generic-y += kvm_para.h generic-y += local.h generic-y += mman.h generic-y += module.h
arch/openrisc/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
Signature · 1 line
1.7.10.4
Re: [PATCH 15/25] openrisc: Use Kbuild infrastructure for kvm_para.h
Quoted 9 lines · Steven Rostedt
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.Cc Jonas Bonn <[email protected]>Signed-off-by Steven Rostedt <[email protected]>
Re: [PATCH 15/25] openrisc: Use Kbuild infrastructure for kvm_para.h
Quoted 6 lines · Jonas Bonn
Quoted 5 lines · Steven Rostedt
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.
Quoted 6 lines
Quoted 4 lines
Cc Jonas Bonn <[email protected]>Signed-off-by Steven Rostedt <[email protected]>Acked-by Jonas Bonn <[email protected]>
Thanks Jonas,
Would you like to pull this into your tree? It's not dependent on any of the other patches. Or I can take care of it too.
-- Steve
Jonas Bonn
maintainerRe: [PATCH 15/25] openrisc: Use Kbuild infrastructure for kvm_para.h
Quoted 11 lines · Steven Rostedt
Quoted 4 lines · Jonas Bonn
Quoted 1 line · Steven Rostedt
Signed-off-by Steven Rostedt <[email protected]>Acked-by Jonas Bonn <[email protected]>Thanks Jonas,
Would you like to pull this into your tree? It's not dependent on any of the other patches. Or I can take care of it too.
Sure, I'll take this via the openrisc tree.
Thanks,
Jonas
PATCH 16/25 parisc: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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 - 17 files changed, 17 insertions(+), 55 deletions(-) delete mode 100644 arch/parisc/include/asm/compat_signal.h delete mode 100644 arch/parisc/include/asm/cputime.h delete mode 100644 arch/parisc/include/asm/device.h delete mode 100644 arch/parisc/include/asm/div64.h delete mode 100644 arch/parisc/include/asm/emergency-restart.h delete mode 100644 arch/parisc/include/asm/hardirq.h delete mode 100644 arch/parisc/include/asm/irq_regs.h delete mode 100644 arch/parisc/include/asm/kdebug.h delete mode 100644 arch/parisc/include/asm/kvm_para.h delete mode 100644 arch/parisc/include/asm/local.h delete mode 100644 arch/parisc/include/asm/local64.h delete mode 100644 arch/parisc/include/asm/param.h delete mode 100644 arch/parisc/include/asm/percpu.h delete mode 100644 arch/parisc/include/asm/poll.h delete mode 100644 arch/parisc/include/asm/topology.h delete mode 100644 arch/parisc/include/asm/xor.h
arch/parisc/include/asm/Kbuild +17 -1
@@ -1,6 +1,22 @@ include include/asm-generic/Kbuild.asm header-y += pdc.h +generic-y += compat_signal.h +generic-y += cputime.h generic-y += clkdev.h -generic-y += word-at-a-time.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h generic-y += exec.h +generic-y += hardirq.h +generic-y += irq_regs.h +generic-y += kdebug.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += param.h +generic-y += percpu.h +generic-y += poll.h +generic-y += topology.h +generic-y += word-at-a-time.h +generic-y += xor.h
arch/parisc/include/asm/compat_signal.h deleted +0 -2
@@ -1,2 +0,0 @@ -/* Use generic */ -#include <asm-generic/compat_signal.h>
arch/parisc/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __PARISC_CPUTIME_H -#define __PARISC_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __PARISC_CPUTIME_H */
arch/parisc/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/parisc/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/parisc/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/parisc/include/asm/hardirq.h deleted +0 -11
@@ -1,11 +0,0 @@ -/* hardirq.h: PA-RISC hard IRQ support. -* -* Copyright (C) 2001 Matthew Wilcox <[email protected]> -*/ - -#ifndef _PARISC_HARDIRQ_H -#define _PARISC_HARDIRQ_H - -#include <asm-generic/hardirq.h> - -#endif /* _PARISC_HARDIRQ_H */
arch/parisc/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/parisc/include/asm/kdebug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kdebug.h>
arch/parisc/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/parisc/include/asm/local.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local.h>
arch/parisc/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/parisc/include/asm/param.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/param.h>
arch/parisc/include/asm/percpu.h deleted +0 -7
@@ -1,7 +0,0 @@ -#ifndef _PARISC_PERCPU_H -#define _PARISC_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif -
arch/parisc/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/parisc/include/asm/topology.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_PARISC_TOPOLOGY_H -#define _ASM_PARISC_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* _ASM_PARISC_TOPOLOGY_H */
arch/parisc/include/asm/xor.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/xor.h>
Signature · 1 line
1.7.10.4
James Bottomley
maintainerRe: [PATCH 16/25] parisc: Use Kbuild infrastructure to handle asm-generic headers
Quoted 7 lines · Steven Rostedt
plain text document attachment (0016-parisc-Use-Kbuild-infrastructure-to-handle-asm-gener.patch)
From: Steven Rostedt <[email protected]>Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
Quoted 8 lines
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Cc "James E.J. Bottomley" <[email protected]>Cc Helge Deller <[email protected]>Signed-off-by Steven Rostedt <[email protected]>
Actually, we're already evaluating a patch like this:
http://marc.info/?l=linux-kernel&m=134883983019018
When I compare the two, I notice you missed a few (segment.h, vga.h, hw_irq.h, mutex.h), so you probably want to adjust your scripts.
James
Re: [PATCH 16/25] parisc: Use Kbuild infrastructure to handle asm-generic headers
Quoted 17 lines · James Bottomley
Quoted 7 lines · Steven Rostedt
plain text document attachment (0016-parisc-Use-Kbuild-infrastructure-to-handle-asm-gener.patch)
From: Steven Rostedt <[email protected]>Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.Quoted 8 lines
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Cc "James E.J. Bottomley" <[email protected]>Cc Helge Deller <[email protected]>Signed-off-by Steven Rostedt <[email protected]>
Quoted 7 lines
Actually, we're already evaluating a patch like this:
http://marc.info/?l=linux-kernel&m=134883983019018
When I compare the two, I notice you missed a few (
segment.h,vga.h,hw_irq.h,mutex.h), so you probably want to adjust your scripts.
Scripts? Naw I did this by hand:
cd arch/parisc/include/asm
vim grep -l asm-generic *.h
And in another terminal added the changes needed to Kbuild. I did this by hand because it would have taken me the same time to verify scripts to do it. By doing it by hand, I was less likely to add something that I shouldn't have.
As Arnd mentioned, I didn't do a compare to check if what is in the header is identical to the asm-generic version. That was going to be "take 2". As this was just removing the simple cases of either:
foo.h:
#include <asm-generic/foo.h>
or
foo.h:
#ifndef _ASM_PARISC_FOO_H
#define _ASM_PARISC_FOO_H
#include <asm-generic/foo.h>
#endif
As for the ones I missed:
mutex.h has:
#include <asm-generic/mutex-dec.h>
which did not match mutex.h, so I ignored it. It would be removed in "take 2" because it's identical to asm-generic/mutex.h.
segment.h:
#ifndef __PARISC_SEGMENT_H
#define __PARISC_SEGMENT_H
/* Only here because we have some old header files that expect it.. */
#endif
It missed the 'grep -l asm-generic' part.
vga.h and hw_irq.h are also empty (no asm-generic added). segment.h and hw_irq.h are also empty in asm-generic, so they could be removed in take 2 as well. vga.h has some defines, but probably wouldn't affect parisc.
I don't care if you take this patch or not. As long as the old method of adding a stub file to include asm-generic/foo.h is removed. This patch set was caused by my frustration of looking at how to add a new asm-generic file and coming up with the wrong implementation, and I want to make sure that this doesn't happen again with another developer.
-- Steve
PATCH 17/25 powerpc: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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 - 10 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 arch/powerpc/include/asm/div64.h delete mode 100644 arch/powerpc/include/asm/emergency-restart.h delete mode 100644 arch/powerpc/include/asm/irq_regs.h delete mode 100644 arch/powerpc/include/asm/local64.h delete mode 100644 arch/powerpc/include/asm/param.h delete mode 100644 arch/powerpc/include/asm/poll.h delete mode 100644 arch/powerpc/include/asm/resource.h delete mode 100644 arch/powerpc/include/asm/statfs.h delete mode 100644 arch/powerpc/include/asm/xor.h
arch/powerpc/include/asm/Kbuild +9 -0
@@ -36,4 +36,13 @@ header-y += ucontext.h header-y += unistd.h generic-y += clkdev.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += irq_regs.h +generic-y += local64.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h generic-y += rwsem.h +generic-y += statfs.h +generic-y += xor.h
arch/powerpc/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/powerpc/include/asm/emergency-restart.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/emergency-restart.h>
arch/powerpc/include/asm/irq_regs.h deleted +0 -2
@@ -1,2 +0,0 @@ -#include <asm-generic/irq_regs.h> -
arch/powerpc/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/powerpc/include/asm/param.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/param.h>
arch/powerpc/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/powerpc/include/asm/resource.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/resource.h>
arch/powerpc/include/asm/statfs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_POWERPC_STATFS_H -#define _ASM_POWERPC_STATFS_H - -#include <asm-generic/statfs.h> - -#endif
arch/powerpc/include/asm/xor.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/xor.h>
Signature · 1 line
1.7.10.4
PATCH 18/25 s390: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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 ------ 17 files changed, 16 insertions(+), 70 deletions(-) delete mode 100644 arch/s390/include/asm/device.h delete mode 100644 arch/s390/include/asm/div64.h delete mode 100644 arch/s390/include/asm/emergency-restart.h delete mode 100644 arch/s390/include/asm/irq_regs.h delete mode 100644 arch/s390/include/asm/kmap_types.h delete mode 100644 arch/s390/include/asm/local.h delete mode 100644 arch/s390/include/asm/local64.h delete mode 100644 arch/s390/include/asm/xor.h delete mode 100644 arch/s390/include/uapi/asm/errno.h delete mode 100644 arch/s390/include/uapi/asm/fcntl.h delete mode 100644 arch/s390/include/uapi/asm/ioctl.h delete mode 100644 arch/s390/include/uapi/asm/param.h delete mode 100644 arch/s390/include/uapi/asm/poll.h delete mode 100644 arch/s390/include/uapi/asm/resource.h delete mode 100644 arch/s390/include/uapi/asm/sockios.h delete mode 100644 arch/s390/include/uapi/asm/termbits.h
arch/s390/include/asm/Kbuild +16 -1
@@ -1,3 +1,18 @@ - generic-y += clkdev.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += irq_regs.h +generic-y += kmap_types.h +generic-y += local64.h +generic-y += local.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += sockios.h +generic-y += termbits.h +generic-y += xor.h
arch/s390/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/s390/include/asm/div64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/div64.h>
arch/s390/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/s390/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/s390/include/asm/kmap_types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_KMAP_TYPES_H -#define _ASM_KMAP_TYPES_H - -#include <asm-generic/kmap_types.h> - -#endif
arch/s390/include/asm/local.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local.h>
arch/s390/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/s390/include/asm/xor.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/xor.h>
arch/s390/include/uapi/asm/errno.h deleted +0 -11
@@ -1,11 +0,0 @@ -/* -* S390 version -* -*/ - -#ifndef _S390_ERRNO_H -#define _S390_ERRNO_H - -#include <asm-generic/errno.h> - -#endif
arch/s390/include/uapi/asm/fcntl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fcntl.h>
arch/s390/include/uapi/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/s390/include/uapi/asm/param.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASMS390_PARAM_H -#define _ASMS390_PARAM_H - -#include <asm-generic/param.h> - -#endif /* _ASMS390_PARAM_H */
arch/s390/include/uapi/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/s390/include/uapi/asm/resource.h deleted +0 -13
@@ -1,13 +0,0 @@ -/* -* S390 version -* -* Derived from "include/asm-i386/resources.h" -*/ - -#ifndef _S390_RESOURCE_H -#define _S390_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif -
arch/s390/include/uapi/asm/sockios.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_S390_SOCKIOS_H -#define _ASM_S390_SOCKIOS_H - -#include <asm-generic/sockios.h> - -#endif
arch/s390/include/uapi/asm/termbits.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_S390_TERMBITS_H -#define _ASM_S390_TERMBITS_H - -#include <asm-generic/termbits.h> - -#endif
Signature · 1 line
1.7.10.4
PATCH 19/25 score: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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 ---- 45 files changed, 44 insertions(+), 249 deletions(-) delete mode 100644 arch/score/include/asm/bitsperlong.h delete mode 100644 arch/score/include/asm/bugs.h delete mode 100644 arch/score/include/asm/cputime.h delete mode 100644 arch/score/include/asm/current.h delete mode 100644 arch/score/include/asm/device.h delete mode 100644 arch/score/include/asm/div64.h delete mode 100644 arch/score/include/asm/emergency-restart.h delete mode 100644 arch/score/include/asm/errno.h delete mode 100644 arch/score/include/asm/fcntl.h delete mode 100644 arch/score/include/asm/futex.h delete mode 100644 arch/score/include/asm/hardirq.h delete mode 100644 arch/score/include/asm/ioctl.h delete mode 100644 arch/score/include/asm/ioctls.h delete mode 100644 arch/score/include/asm/ipcbuf.h delete mode 100644 arch/score/include/asm/kdebug.h delete mode 100644 arch/score/include/asm/kmap_types.h delete mode 100644 arch/score/include/asm/kvm_para.h delete mode 100644 arch/score/include/asm/local.h delete mode 100644 arch/score/include/asm/local64.h delete mode 100644 arch/score/include/asm/mman.h delete mode 100644 arch/score/include/asm/msgbuf.h delete mode 100644 arch/score/include/asm/param.h delete mode 100644 arch/score/include/asm/percpu.h delete mode 100644 arch/score/include/asm/poll.h delete mode 100644 arch/score/include/asm/posix_types.h delete mode 100644 arch/score/include/asm/resource.h delete mode 100644 arch/score/include/asm/scatterlist.h delete mode 100644 arch/score/include/asm/sections.h delete mode 100644 arch/score/include/asm/sembuf.h delete mode 100644 arch/score/include/asm/shmbuf.h delete mode 100644 arch/score/include/asm/shmparam.h delete mode 100644 arch/score/include/asm/siginfo.h delete mode 100644 arch/score/include/asm/signal.h delete mode 100644 arch/score/include/asm/socket.h delete mode 100644 arch/score/include/asm/sockios.h delete mode 100644 arch/score/include/asm/stat.h delete mode 100644 arch/score/include/asm/statfs.h delete mode 100644 arch/score/include/asm/swab.h delete mode 100644 arch/score/include/asm/termbits.h delete mode 100644 arch/score/include/asm/termios.h delete mode 100644 arch/score/include/asm/topology.h delete mode 100644 arch/score/include/asm/types.h delete mode 100644 arch/score/include/asm/ucontext.h delete mode 100644 arch/score/include/asm/unaligned.h
arch/score/include/asm/Kbuild +44 -0
@@ -2,4 +2,48 @@ include include/asm-generic/Kbuild.asm header-y += +generic-y += bitsperlong.h +generic-y += bugs.h +generic-y += cputime.h +generic-y += current.h generic-y += clkdev.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += futex.h +generic-y += hardirq.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kdebug.h +generic-y += kmap_types.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += percpu.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += sembuf.h +generic-y += shmbuf.h +generic-y += shmparam.h +generic-y += siginfo.h +generic-y += signal.h +generic-y += socket.h +generic-y += sockios.h +generic-y += statfs.h +generic-y += stat.h +generic-y += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += topology.h +generic-y += types.h +generic-y += ucontext.h +generic-y += unaligned.h
arch/score/include/asm/bitsperlong.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_BITSPERLONG_H -#define _ASM_SCORE_BITSPERLONG_H - -#include <asm-generic/bitsperlong.h> - -#endif /* _ASM_SCORE_BITSPERLONG_H */
arch/score/include/asm/bugs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_BUGS_H -#define _ASM_SCORE_BUGS_H - -#include <asm-generic/bugs.h> - -#endif /* _ASM_SCORE_BUGS_H */
arch/score/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_CPUTIME_H -#define _ASM_SCORE_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* _ASM_SCORE_CPUTIME_H */
arch/score/include/asm/current.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_CURRENT_H -#define _ASM_SCORE_CURRENT_H - -#include <asm-generic/current.h> - -#endif /* _ASM_SCORE_CURRENT_H */
arch/score/include/asm/device.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_DEVICE_H -#define _ASM_SCORE_DEVICE_H - -#include <asm-generic/device.h> - -#endif /* _ASM_SCORE_DEVICE_H */
arch/score/include/asm/div64.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_DIV64_H -#define _ASM_SCORE_DIV64_H - -#include <asm-generic/div64.h> - -#endif /* _ASM_SCORE_DIV64_H */
arch/score/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_EMERGENCY_RESTART_H -#define _ASM_SCORE_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_SCORE_EMERGENCY_RESTART_H */
arch/score/include/asm/errno.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_ERRNO_H -#define _ASM_SCORE_ERRNO_H - -#include <asm-generic/errno.h> - -#endif /* _ASM_SCORE_ERRNO_H */
arch/score/include/asm/fcntl.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_FCNTL_H -#define _ASM_SCORE_FCNTL_H - -#include <asm-generic/fcntl.h> - -#endif /* _ASM_SCORE_FCNTL_H */
arch/score/include/asm/futex.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_FUTEX_H -#define _ASM_SCORE_FUTEX_H - -#include <asm-generic/futex.h> - -#endif /* _ASM_SCORE_FUTEX_H */
arch/score/include/asm/hardirq.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_HARDIRQ_H -#define _ASM_SCORE_HARDIRQ_H - -#include <asm-generic/hardirq.h> - -#endif /* _ASM_SCORE_HARDIRQ_H */
arch/score/include/asm/ioctl.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_IOCTL_H -#define _ASM_SCORE_IOCTL_H - -#include <asm-generic/ioctl.h> - -#endif /* _ASM_SCORE_IOCTL_H */
arch/score/include/asm/ioctls.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_IOCTLS_H -#define _ASM_SCORE_IOCTLS_H - -#include <asm-generic/ioctls.h> - -#endif /* _ASM_SCORE_IOCTLS_H */
arch/score/include/asm/ipcbuf.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_IPCBUF_H -#define _ASM_SCORE_IPCBUF_H - -#include <asm-generic/ipcbuf.h> - -#endif /* _ASM_SCORE_IPCBUF_H */
arch/score/include/asm/kdebug.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_KDEBUG_H -#define _ASM_SCORE_KDEBUG_H - -#include <asm-generic/kdebug.h> - -#endif /* _ASM_SCORE_KDEBUG_H */
arch/score/include/asm/kmap_types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_KMAP_TYPES_H -#define _ASM_SCORE_KMAP_TYPES_H - -#include <asm-generic/kmap_types.h> - -#endif /* _ASM_SCORE_KMAP_TYPES_H */
arch/score/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/score/include/asm/local.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_LOCAL_H -#define _ASM_SCORE_LOCAL_H - -#include <asm-generic/local.h> - -#endif /* _ASM_SCORE_LOCAL_H */
arch/score/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/score/include/asm/mman.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_MMAN_H -#define _ASM_SCORE_MMAN_H - -#include <asm-generic/mman.h> - -#endif /* _ASM_SCORE_MMAN_H */
arch/score/include/asm/msgbuf.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_MSGBUF_H -#define _ASM_SCORE_MSGBUF_H - -#include <asm-generic/msgbuf.h> - -#endif /* _ASM_SCORE_MSGBUF_H */
arch/score/include/asm/param.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_PARAM_H -#define _ASM_SCORE_PARAM_H - -#include <asm-generic/param.h> - -#endif /* _ASM_SCORE_PARAM_H */
arch/score/include/asm/percpu.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_PERCPU_H -#define _ASM_SCORE_PERCPU_H - -#include <asm-generic/percpu.h> - -#endif /* _ASM_SCORE_PERCPU_H */
arch/score/include/asm/poll.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_POLL_H -#define _ASM_SCORE_POLL_H - -#include <asm-generic/poll.h> - -#endif /* _ASM_SCORE_POLL_H */
arch/score/include/asm/posix_types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_POSIX_TYPES_H -#define _ASM_SCORE_POSIX_TYPES_H - -#include <asm-generic/posix_types.h> - -#endif /* _ASM_SCORE_POSIX_TYPES_H */
arch/score/include/asm/resource.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_RESOURCE_H -#define _ASM_SCORE_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif /* _ASM_SCORE_RESOURCE_H */
arch/score/include/asm/scatterlist.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SCATTERLIST_H -#define _ASM_SCORE_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* _ASM_SCORE_SCATTERLIST_H */
arch/score/include/asm/sections.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SECTIONS_H -#define _ASM_SCORE_SECTIONS_H - -#include <asm-generic/sections.h> - -#endif /* _ASM_SCORE_SECTIONS_H */
arch/score/include/asm/sembuf.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SEMBUF_H -#define _ASM_SCORE_SEMBUF_H - -#include <asm-generic/sembuf.h> - -#endif /* _ASM_SCORE_SEMBUF_H */
arch/score/include/asm/shmbuf.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SHMBUF_H -#define _ASM_SCORE_SHMBUF_H - -#include <asm-generic/shmbuf.h> - -#endif /* _ASM_SCORE_SHMBUF_H */
arch/score/include/asm/shmparam.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SHMPARAM_H -#define _ASM_SCORE_SHMPARAM_H - -#include <asm-generic/shmparam.h> - -#endif /* _ASM_SCORE_SHMPARAM_H */
arch/score/include/asm/siginfo.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SIGINFO_H -#define _ASM_SCORE_SIGINFO_H - -#include <asm-generic/siginfo.h> - -#endif /* _ASM_SCORE_SIGINFO_H */
arch/score/include/asm/signal.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SIGNAL_H -#define _ASM_SCORE_SIGNAL_H - -#include <asm-generic/signal.h> - -#endif /* _ASM_SCORE_SIGNAL_H */
arch/score/include/asm/socket.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SOCKET_H -#define _ASM_SCORE_SOCKET_H - -#include <asm-generic/socket.h> - -#endif /* _ASM_SCORE_SOCKET_H */
arch/score/include/asm/sockios.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SOCKIOS_H -#define _ASM_SCORE_SOCKIOS_H - -#include <asm-generic/sockios.h> - -#endif /* _ASM_SCORE_SOCKIOS_H */
arch/score/include/asm/stat.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_STAT_H -#define _ASM_SCORE_STAT_H - -#include <asm-generic/stat.h> - -#endif /* _ASM_SCORE_STAT_H */
arch/score/include/asm/statfs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_STATFS_H -#define _ASM_SCORE_STATFS_H - -#include <asm-generic/statfs.h> - -#endif /* _ASM_SCORE_STATFS_H */
arch/score/include/asm/swab.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_SWAB_H -#define _ASM_SCORE_SWAB_H - -#include <asm-generic/swab.h> - -#endif /* _ASM_SCORE_SWAB_H */
arch/score/include/asm/termbits.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_TERMBITS_H -#define _ASM_SCORE_TERMBITS_H - -#include <asm-generic/termbits.h> - -#endif /* _ASM_SCORE_TERMBITS_H */
arch/score/include/asm/termios.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_TERMIOS_H -#define _ASM_SCORE_TERMIOS_H - -#include <asm-generic/termios.h> - -#endif /* _ASM_SCORE_TERMIOS_H */
arch/score/include/asm/topology.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_TOPOLOGY_H -#define _ASM_SCORE_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* _ASM_SCORE_TOPOLOGY_H */
arch/score/include/asm/types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_TYPES_H -#define _ASM_SCORE_TYPES_H - -#include <asm-generic/types.h> - -#endif /* _ASM_SCORE_TYPES_H */
arch/score/include/asm/ucontext.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ucontext.h>
arch/score/include/asm/unaligned.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_SCORE_UNALIGNED_H -#define _ASM_SCORE_UNALIGNED_H - -#include <asm-generic/unaligned.h> - -#endif /* _ASM_SCORE_UNALIGNED_H */
Signature · 1 line
1.7.10.4
PATCH 20/25 sparc: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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 ------ 6 files changed, 5 insertions(+), 29 deletions(-) delete mode 100644 arch/sparc/include/asm/cputime.h delete mode 100644 arch/sparc/include/asm/emergency-restart.h delete mode 100644 arch/sparc/include/asm/kmap_types.h delete mode 100644 arch/sparc/include/uapi/asm/kvm_para.h delete mode 100644 arch/sparc/include/uapi/asm/statfs.h
arch/sparc/include/asm/Kbuild +5 -0
@@ -1,10 +1,15 @@ # User exported sparc header files +generic-y += cputime.h generic-y += clkdev.h +generic-y += emergency-restart.h generic-y += div64.h generic-y += exec.h generic-y += local64.h generic-y += irq_regs.h +generic-y += kmap_types.h +generic-y += kvm_para.h generic-y += local.h +generic-y += statfs.h generic-y += word-at-a-time.h
arch/sparc/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef __SPARC_CPUTIME_H -#define __SPARC_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* __SPARC_CPUTIME_H */
arch/sparc/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/sparc/include/asm/kmap_types.h deleted +0 -10
@@ -1,10 +0,0 @@ -#ifndef _ASM_KMAP_TYPES_H -#define _ASM_KMAP_TYPES_H - -/* Dummy header just to define km_type. None of this -* is actually used on sparc. -DaveM -*/ - -#include <asm-generic/kmap_types.h> - -#endif
arch/sparc/include/uapi/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/sparc/include/uapi/asm/statfs.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef ___ASM_SPARC_STATFS_H -#define ___ASM_SPARC_STATFS_H - -#include <asm-generic/statfs.h> - -#endif
Signature · 1 line
1.7.10.4
Re: [PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers
From: Steven Rostedt <[email protected]>
Date: Fri, 12 Oct 2012 22:26:52 -0400
Quoted 5 lines
From: Steven Rostedt <[email protected]>
Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
Quoted 7 lines
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Cc "David S. Miller" <[email protected]>Signed-off-by Steven Rostedt <[email protected]>
Re: [PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers
Quoted 11 lines · David Miller
From: Steven Rostedt <[email protected]>
Date: Fri, 12 Oct 2012 22:26:52 -0400Quoted 8 lines
From: Steven Rostedt <[email protected]>
Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Quoted 6 lines
Quoted 4 lines
Cc "David S. Miller" <[email protected]>Signed-off-by Steven Rostedt <[email protected]>Acked-by David S. Miller <[email protected]>
David,
Would you like to take this patch? It's not dependent on any of the other patches. Otherwise I'll probably ask Andrew to pull it into his tree. Or I can just set up a branch and have it go into linux-next for the next merge window.
-- Steve
David Miller
maintainerRe: [PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers
From: Steven Rostedt <[email protected]>
Date: Sat, 13 Oct 2012 09:54:00 -0400
Quoted 17 lines · David Miller
Quoted 16 lines
From: Steven Rostedt <[email protected]>
Date: Fri, 12 Oct 2012 22:26:52 -0400Quoted 12 lines
From: Steven Rostedt <[email protected]>
Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Cc "David S. Miller" <[email protected]>Signed-off-by Steven Rostedt <[email protected]>
Quoted 8 lines
Quoted 1 line
Acked-by David S. Miller <[email protected]>David,
Would you like to take this patch? It's not dependent on any of the other patches. Otherwise I'll probably ask Andrew to pull it into his tree. Or I can just set up a branch and have it go into linux-next for the next merge window.
I really would like to take less rather than take more.
This whole UAPI, Kbuild, etc. stuff is just bogging subsystem maintainers down. This kind of stuff should just go via the person who does all the work and knows how it all ties together and knows what dependencies, if any, exist in the series.
So please merge this yourself, thanks.
Re: [PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers
Quoted 8 lines · David Miller
I really would like to take less rather than take more.
This whole UAPI,
Kbuild, etc. stuff is just bogging subsystem maintainers down. This kind of stuff should just go via the person who does all the work and knows how it all ties together and knows what dependencies, if any, exist in the series.So please merge this yourself, thanks.
OK, will do.
-- Steve
PATCH 21/25 tile: Use Kbuild infrastructure for kvm_para.h
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers.
--- arch/tile/include/asm/Kbuild | 1 + arch/tile/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 arch/tile/include/asm/kvm_para.h
arch/tile/include/asm/Kbuild +1 -0
@@ -21,6 +21,7 @@ generic-y += ioctls.h generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h +generic-y += kvm_para.h generic-y += local.h generic-y += msgbuf.h generic-y += mutex.h
arch/tile/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
Signature · 1 line
1.7.10.4
Re: [PATCH 21/25] tile: Use Kbuild infrastructure for kvm_para.h
Quoted 5 lines · Steven Rostedt
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.
Quoted 8 lines
Cc Chris Metcalf <[email protected]>Signed-off-by Steven Rostedt <[email protected]>--- arch/tile/include/asm/Kbuild | 1 + arch/tile/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 arch/tile/include/asm/kvm_para.h
Signature · 2 lines
Chris Metcalf, Tilera Corp. http://www.tilera.com
PATCH 22/25 um: Use Kbuild infrastructure for kvm_para.h
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers.
(also had to add ipcbuf.h)
--- arch/um/include/asm/Kbuild | 2 +- arch/um/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 arch/um/include/asm/kvm_para.h
arch/um/include/asm/Kbuild +1 -1
@@ -1,4 +1,4 @@ generic-y += bug.h cputime.h device.h emergency-restart.h futex.h hardirq.h generic-y += hw_irq.h irq_regs.h kdebug.h percpu.h sections.h topology.h xor.h generic-y += ftrace.h pci.h io.h param.h delay.h mutex.h current.h exec.h -generic-y += switch_to.h clkdev.h +generic-y += switch_to.h clkdev.h kvm_para.h ipcbuf.h
arch/um/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
Signature · 1 line
1.7.10.4
Re: [PATCH 22/25] um: Use Kbuild infrastructure for kvm_para.h
Quoted 5 lines · Steven Rostedt
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.
Quoted 7 lines
(also had to add
ipcbuf.h)Cc Jeff Dike <[email protected]>Cc Richard Weinberger <[email protected]>Signed-off-by Steven Rostedt <[email protected]>
Signature · 2 lines
Thanks, //richard
PATCH 23/25 unicore32: Use Kbuild infrastructure for kvm_para.h
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers.
--- arch/unicore32/include/asm/Kbuild | 1 + arch/unicore32/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 arch/unicore32/include/asm/kvm_para.h
arch/unicore32/include/asm/Kbuild +1 -0
@@ -24,6 +24,7 @@ generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += kmap_types.h +generic-y += kvm_para.h generic-y += local.h generic-y += mman.h generic-y += module.h
arch/unicore32/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
Signature · 1 line
1.7.10.4
Re: [PATCH 23/25] unicore32: Use Kbuild infrastructure for kvm_para.h
Quoted 4 lines
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.
I merged the uapi patch for unicore32.
In that patch, kvm_para.h was moved to arch/unicore32/include/uapi/asm/kvm_para.h.
Anyway, I'd like to apply this patch based on uapi modification.
Thanks & Regards,
Guan Xuetao
Quoted 35 lines
Cc Guan Xuetao <[email protected]>Signed-off-by Steven Rostedt <[email protected]>--- arch/unicore32/include/asm/Kbuild | 1 + arch/unicore32/include/asm/kvm_para.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 arch/unicore32/include/asm/kvm_para.harch/unicore32/include/asm/Kbuild +1
-0@@ -24,6 +24,7 @@ generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += kmap_types.h +generic-y += kvm_para.h generic-y += local.h generic-y += mman.h generic-y += module.harch/unicore32/include/asm/kvm_para.h deleted +0
-2@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h> --1.7.10.4
Re: [PATCH 23/25] unicore32: Use Kbuild infrastructure for kvm_para.h
Quoted 10 lines · On Sat, 2012-10-13 at 20:27 +0800, [email protected] wrote:
Quoted 4 lines
From: Steven Rostedt <[email protected]>
All the headers but
kvm_para.huse theKbuildinfrastructure to get to the asm-generic headers.I merged the uapi patch for unicore32.
In that patch,kvm_para.hwas moved toarch/unicore32/include/uapi/asm/kvm_para.h.
Anyway, I'd like to apply this patch based on uapi modification.
Sure, do whatever you want ;-)
-- Steve
PATCH 24/25 x86: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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/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 ------ 18 files changed, 18 insertions(+), 22 deletions(-) delete mode 100644 arch/x86/include/asm/cputime.h delete mode 100644 arch/x86/include/asm/errno.h delete mode 100644 arch/x86/include/asm/fcntl.h delete mode 100644 arch/x86/include/asm/ioctl.h delete mode 100644 arch/x86/include/asm/ioctls.h delete mode 100644 arch/x86/include/asm/local64.h delete mode 100644 arch/x86/include/asm/msgbuf.h delete mode 100644 arch/x86/include/asm/param.h delete mode 100644 arch/x86/include/asm/poll.h delete mode 100644 arch/x86/include/asm/resource.h delete mode 100644 arch/x86/include/asm/rtc.h delete mode 100644 arch/x86/include/asm/shmbuf.h delete mode 100644 arch/x86/include/asm/socket.h delete mode 100644 arch/x86/include/asm/sockios.h delete mode 100644 arch/x86/include/asm/termbits.h delete mode 100644 arch/x86/include/asm/termios.h delete mode 100644 arch/x86/include/asm/types.h
arch/x86/include/asm/Kbuild +18 -0
@@ -27,4 +27,22 @@ genhdr-y += unistd_32.h genhdr-y += unistd_64.h genhdr-y += unistd_x32.h +generic-y += cputime.h generic-y += clkdev.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += local64.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += rtc.h +generic-y += shmbuf.h +generic-y += socket.h +generic-y += sockios.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h
arch/x86/include/asm/cputime.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/cputime.h>
arch/x86/include/asm/errno.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/errno.h>
arch/x86/include/asm/fcntl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fcntl.h>
arch/x86/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/x86/include/asm/ioctls.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctls.h>
arch/x86/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/x86/include/asm/msgbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/msgbuf.h>
arch/x86/include/asm/param.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/param.h>
arch/x86/include/asm/poll.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/poll.h>
arch/x86/include/asm/resource.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/resource.h>
arch/x86/include/asm/rtc.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/rtc.h>
arch/x86/include/asm/shmbuf.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/shmbuf.h>
arch/x86/include/asm/socket.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/socket.h>
arch/x86/include/asm/sockios.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/sockios.h>
arch/x86/include/asm/termbits.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/termbits.h>
arch/x86/include/asm/termios.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/termios.h>
arch/x86/include/asm/types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_X86_TYPES_H -#define _ASM_X86_TYPES_H - -#include <asm-generic/types.h> - -#endif /* _ASM_X86_TYPES_H */
Signature · 1 line
1.7.10.4
PATCH 25/25 xtensa: Use Kbuild infrastructure to handle asm-generic headers
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
--- 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 ---------------- 26 files changed, 25 insertions(+), 244 deletions(-) delete mode 100644 arch/xtensa/include/asm/bitsperlong.h delete mode 100644 arch/xtensa/include/asm/bug.h delete mode 100644 arch/xtensa/include/asm/cputime.h delete mode 100644 arch/xtensa/include/asm/device.h delete mode 100644 arch/xtensa/include/asm/div64.h delete mode 100644 arch/xtensa/include/asm/emergency-restart.h delete mode 100644 arch/xtensa/include/asm/errno.h delete mode 100644 arch/xtensa/include/asm/fcntl.h delete mode 100644 arch/xtensa/include/asm/futex.h delete mode 100644 arch/xtensa/include/asm/hardirq.h delete mode 100644 arch/xtensa/include/asm/ioctl.h delete mode 100644 arch/xtensa/include/asm/irq_regs.h delete mode 100644 arch/xtensa/include/asm/kdebug.h delete mode 100644 arch/xtensa/include/asm/kmap_types.h delete mode 100644 arch/xtensa/include/asm/kvm_para.h delete mode 100644 arch/xtensa/include/asm/local.h delete mode 100644 arch/xtensa/include/asm/local64.h delete mode 100644 arch/xtensa/include/asm/percpu.h delete mode 100644 arch/xtensa/include/asm/resource.h delete mode 100644 arch/xtensa/include/asm/scatterlist.h delete mode 100644 arch/xtensa/include/asm/sections.h delete mode 100644 arch/xtensa/include/asm/siginfo.h delete mode 100644 arch/xtensa/include/asm/statfs.h delete mode 100644 arch/xtensa/include/asm/topology.h delete mode 100644 arch/xtensa/include/asm/xor.h
arch/xtensa/include/asm/Kbuild +25 -0
@@ -1,4 +1,29 @@ include include/asm-generic/Kbuild.asm +generic-y += bitsperlong.h +generic-y += bug.h +generic-y += cputime.h generic-y += clkdev.h +generic-y += device.h +generic-y += div64.h +generic-y += emergency-restart.h +generic-y += errno.h generic-y += exec.h +generic-y += fcntl.h +generic-y += futex.h +generic-y += hardirq.h +generic-y += ioctl.h +generic-y += irq_regs.h +generic-y += kdebug.h +generic-y += kmap_types.h +generic-y += kvm_para.h +generic-y += local64.h +generic-y += local.h +generic-y += percpu.h +generic-y += resource.h +generic-y += scatterlist.h +generic-y += sections.h +generic-y += siginfo.h +generic-y += statfs.h +generic-y += topology.h +generic-y += xor.h
arch/xtensa/include/asm/bitsperlong.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/bitsperlong.h>
arch/xtensa/include/asm/bug.h deleted +0 -18
@@ -1,18 +0,0 @@ -/* -* include/asm-xtensa/bug.h -* -* Macros to cause a 'bug' message. -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_BUG_H -#define _XTENSA_BUG_H - -#include <asm-generic/bug.h> - -#endif /* _XTENSA_BUG_H */
arch/xtensa/include/asm/cputime.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _XTENSA_CPUTIME_H -#define _XTENSA_CPUTIME_H - -#include <asm-generic/cputime.h> - -#endif /* _XTENSA_CPUTIME_H */
arch/xtensa/include/asm/device.h deleted +0 -7
@@ -1,7 +0,0 @@ -/* -* Arch specific extensions to struct device -* -* This file is released under the GPLv2 -*/ -#include <asm-generic/device.h> -
arch/xtensa/include/asm/div64.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/div64.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2007 Tensilica Inc. -*/ - -#ifndef _XTENSA_DIV64_H -#define _XTENSA_DIV64_H - -#include <asm-generic/div64.h> - -#endif /* _XTENSA_DIV64_H */
arch/xtensa/include/asm/emergency-restart.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _ASM_EMERGENCY_RESTART_H -#define _ASM_EMERGENCY_RESTART_H - -#include <asm-generic/emergency-restart.h> - -#endif /* _ASM_EMERGENCY_RESTART_H */
arch/xtensa/include/asm/errno.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/errno.h -* -* This file is subject to the terms and conditions of the GNU General -* Public License. See the file "COPYING" in the main directory of -* this archive for more details. -* -* Copyright (C) 2002 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_ERRNO_H -#define _XTENSA_ERRNO_H - -#include <asm-generic/errno.h> - -#endif /* _XTENSA_ERRNO_H */
arch/xtensa/include/asm/fcntl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/fcntl.h>
arch/xtensa/include/asm/futex.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/futex.h>
arch/xtensa/include/asm/hardirq.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/hardirq.h -* -* This file is subject to the terms and conditions of the GNU General -* Public License. See the file "COPYING" in the main directory of -* this archive for more details. -* -* Copyright (C) 2002 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_HARDIRQ_H -#define _XTENSA_HARDIRQ_H - -#include <asm-generic/hardirq.h> - -#endif /* _XTENSA_HARDIRQ_H */
arch/xtensa/include/asm/ioctl.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/ioctl.h>
arch/xtensa/include/asm/irq_regs.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/irq_regs.h>
arch/xtensa/include/asm/kdebug.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kdebug.h>
arch/xtensa/include/asm/kmap_types.h deleted +0 -6
@@ -1,6 +0,0 @@ -#ifndef _XTENSA_KMAP_TYPES_H -#define _XTENSA_KMAP_TYPES_H - -#include <asm-generic/kmap_types.h> - -#endif /* _XTENSA_KMAP_TYPES_H */
arch/xtensa/include/asm/kvm_para.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/kvm_para.h>
arch/xtensa/include/asm/local.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/local.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_LOCAL_H -#define _XTENSA_LOCAL_H - -#include <asm-generic/local.h> - -#endif /* _XTENSA_LOCAL_H */
arch/xtensa/include/asm/local64.h deleted +0 -1
@@ -1 +0,0 @@ -#include <asm-generic/local64.h>
arch/xtensa/include/asm/percpu.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* linux/include/asm-xtensa/percpu.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_PERCPU__ -#define _XTENSA_PERCPU__ - -#include <asm-generic/percpu.h> - -#endif /* _XTENSA_PERCPU__ */
arch/xtensa/include/asm/resource.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/resource.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_RESOURCE_H -#define _XTENSA_RESOURCE_H - -#include <asm-generic/resource.h> - -#endif /* _XTENSA_RESOURCE_H */
arch/xtensa/include/asm/scatterlist.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/scatterlist.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_SCATTERLIST_H -#define _XTENSA_SCATTERLIST_H - -#include <asm-generic/scatterlist.h> - -#endif /* _XTENSA_SCATTERLIST_H */
arch/xtensa/include/asm/sections.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/sections.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_SECTIONS_H -#define _XTENSA_SECTIONS_H - -#include <asm-generic/sections.h> - -#endif /* _XTENSA_SECTIONS_H */
arch/xtensa/include/asm/siginfo.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/siginfo.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_SIGINFO_H -#define _XTENSA_SIGINFO_H - -#include <asm-generic/siginfo.h> - -#endif /* _XTENSA_SIGINFO_H */
arch/xtensa/include/asm/statfs.h deleted +0 -17
@@ -1,17 +0,0 @@ -/* -* include/asm-xtensa/statfs.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_STATFS_H -#define _XTENSA_STATFS_H - -#include <asm-generic/statfs.h> - -#endif /* _XTENSA_STATFS_H */ -
arch/xtensa/include/asm/topology.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/topology.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_TOPOLOGY_H -#define _XTENSA_TOPOLOGY_H - -#include <asm-generic/topology.h> - -#endif /* _XTENSA_TOPOLOGY_H */
arch/xtensa/include/asm/xor.h deleted +0 -16
@@ -1,16 +0,0 @@ -/* -* include/asm-xtensa/xor.h -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2001 - 2005 Tensilica Inc. -*/ - -#ifndef _XTENSA_XOR_H -#define _XTENSA_XOR_H - -#include <asm-generic/xor.h> - -#endif
Signature · 1 line
1.7.10.4
Max Filippov
maintainerRe: [PATCH 25/25] xtensa: Use Kbuild infrastructure to handle asm-generic headers
Quoted 5 lines · Steven Rostedt
From: Steven Rostedt <[email protected]>
Use
Kbuildinfrastructure to handle the asm-generic headers and remove the wrapper headers that call them.
Quoted 8 lines
This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more.
Cc Chris Zankel <[email protected]>Cc Max Filippov <[email protected]>Signed-off-by Steven Rostedt <[email protected]>
Thanks, rebased on top of UAPI changes and applied to the xtensa_next tree.
Signature · 1 line
-- Max
Arnd Bergmann
maintainerQuoted 9 lines · On Friday 12 October 2012 22:26:32 Steven Rostedt wrote:
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(-)
Thanks a lot for doing this! I had initially converted a bunch of architectures to use the asm-generic files this way, but gave up after some of them turned out to be too much work to get in.
Note that while you are addressing all the obvious candidates that have only a single #include statement in them, there is room to take this further because a lot of the other header files in architectures are still identical to their asm-generic counterparts (aside from whitespace and comments). I would recommend to arch maintainers that have not already done so to go through all the headers and replace the identical ones with generated headers that include the asm-generic version.
Arnd
Quoted 8 lines · Arnd Bergmann
Note that while you are addressing all the obvious candidates that have only a single #include statement in them, there is room to take this further because a lot of the other header files in architectures are still identical to their asm-generic counterparts (aside from whitespace and comments). I would recommend to arch maintainers that have not already done so to go through all the headers and replace the identical ones with generated headers that include the asm-generic version.
I was thinking of doing this as a "take 2", after this set got in.
I'm not sure if it's already there or not, but perhaps checkpatch could add a way to see if a new file is created in arch/*/include/asm/* that only adds an include of asm-generic (ignoring the #ifndef _FOO_H wrappers), and tell the user to use the generic-y += in Kbuild method.
-- Steve
Hi Steven,
Quoted 6 lines · Steven Rostedt
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.hin a few archs and saw that was the case.
Quoted 8 lines
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/Kbuildfile, 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.
Since you are cleaning this up already, could you please merge these patches into your series:
https://lkml.org/lkml/2012/10/11/291
The first patch adds support for generic-y in the new arch/*/include/uapi/asm/Kbuild file, followed by few patches to convert three architectures. There will probably be more to convert after -rc1.
Thanks.
Signature · 1 line
Catalin
Quoted 21 lines · Catalin Marinas
Hi Steven,
Quoted 6 lines · Steven Rostedt
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.hin a few archs and saw that was the case.Quoted 8 lines
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/Kbuildfile, 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.Since you are cleaning this up already, could you please merge these patches into your series:
Quoted 6 lines
https://lkml.org/lkml/2012/10/11/291
The first patch adds support for generic-y in the new
arch/*/include/uapi/asm/Kbuildfile, followed by few patches to convert three architectures. There will probably be more to convert after -rc1.
If the maintainers don't, I'll be happy to take them in too. I can set up a separate branch for this. I'll see what I can do next week, although I'll be traveling for the RTLWS.
-- Steve