[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>
Cette révision appartient à :
Paolo 'Blaisorblade' Giarrusso
2005-06-21 17:16:24 -07:00
révisé par Linus Torvalds
Parent faec1e99ba
révision b77d6adc92
3 fichiers modifiés avec 12 ajouts et 0 suppressions

Voir le fichier

@@ -35,6 +35,11 @@ config GENERIC_CALIBRATE_DELAY
bool
default y
# Used in kernel/irq/manage.c and include/linux/irq.h
config IRQ_RELEASE_METHOD
bool
default y
menu "UML-specific options"
config MODE_TT