[PATCH] uml: make hw_controller_type->release exist only for archs needing it
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Wed, 22 Jun 2005 00:16:24 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 02:07:32 +0000 (19:07 -0700)
commitb77d6adc922b8bbf8b16b67f567958c42962cf88
tree6d212543f10d0330b73ec3932d17c97a1da56bdf
parentfaec1e99ba9ca7371d9aee1656938373133c4b21
[PATCH] uml: make hw_controller_type->release exist only for archs needing it

With Chris Wedgwood <cw@f00f.org>

As suggested by Chris, we can make the "just added" method ->release
conditional to UML only (better: to archs requesting it, i.e.  only UML
currently), so that other archs don't get this unneeded crud, and if UML
won't need it any more we can kill this.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
CC: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Kconfig
include/linux/irq.h
kernel/irq/manage.c