[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45CF3AF6.2060203@garzik.org>
Date: Sun, 11 Feb 2007 10:49:10 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Al Viro <viro@....linux.org.uk>
CC: torvalds@...ux-foundation.org, Tejun Heo <htejun@...il.com>,
Christoph Hellwig <hch@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org
Subject: Re: [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@...iv.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists