]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/s390/Kconfig
[PATCH] sort the devres mess out
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 11 Feb 2007 15:41:31 +0000 (15:41 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 19:18:07 +0000 (11:18 -0800)
commit5ea8176994003483a18c8fed580901e2125f8a83
tree0712ec9cd3384fbd897eb454ce9c0f907289ab51
parent2835fdfa4a7f1400986d76d054237809a9392406
[PATCH] sort the devres mess out

* Split the implementation-agnostic stuff in separate files.
* Make sure that targets using non-default request_irq() pull
  kernel/irq/devres.o
* Introduce new symbols (HAS_IOPORT and HAS_IOMEM) defaulting to positive;
  allow architectures to turn them off (we needed these symbols anyway for
  dependencies of quite a few drivers).
* protect the ioport-related parts of lib/devres.o with CONFIG_HAS_IOPORT.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
21 files changed:
arch/arm/Kconfig
arch/cris/Kconfig
arch/h8300/Kconfig
arch/h8300/kernel/Makefile
arch/m32r/Kconfig
arch/m68k/Kconfig
arch/m68k/kernel/Makefile
arch/m68knommu/Kconfig
arch/s390/Kconfig
arch/sparc/kernel/Makefile
arch/um/Kconfig
arch/xtensa/Kconfig
include/linux/io.h
include/linux/pci.h
kernel/irq/Makefile
kernel/irq/devres.c [new file with mode: 0644]
kernel/irq/manage.c
lib/Kconfig
lib/Makefile
lib/devres.c [new file with mode: 0644]
lib/iomap.c