lkml.org 
[lkml]   [2007]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sort the devres mess out
Al Viro wrote:
> * 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>
> ---
> arch/arm/Kconfig | 5 +
> arch/cris/Kconfig | 3 +
> arch/h8300/Kconfig | 3 +
> arch/h8300/kernel/Makefile | 4 +-
> arch/m32r/Kconfig | 3 +
> arch/m68k/Kconfig | 3 +
> arch/m68k/kernel/Makefile | 4 +-
> arch/m68knommu/Kconfig | 3 +
> arch/s390/Kconfig | 3 +
> arch/sparc/kernel/Makefile | 4 +-
> arch/um/Kconfig | 3 +
> arch/xtensa/Kconfig | 3 +
> include/linux/io.h | 6 -
> include/linux/pci.h | 5 +
> kernel/irq/Makefile | 2 +-
> kernel/irq/devres.c | 88 +++++++++++++
> kernel/irq/manage.c | 86 -------------
> lib/Kconfig | 9 +-
> lib/Makefile | 5 +-
> lib/devres.c | 300 ++++++++++++++++++++++++++++++++++++++++++++
> lib/iomap.c | 296 -------------------------------------------
> 21 files changed, 442 insertions(+), 396 deletions(-)
> create mode 100644 kernel/irq/devres.c
> create mode 100644 lib/devres.c

ACK


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-11 16:53    [W:0.267 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site