[SPARC64]: Fix MD property lifetime bugs.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 12 Jul 2007 21:16:22 +0000 (14:16 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 16 Jul 2007 11:04:33 +0000 (04:04 -0700)
commit83292e0a9c3f1c326b28fbf8cb70a8ce81a98163
tree38794e806ba5fe8d10234c5c24a4efa22180c05c
parent43fdf27470b216ebdef47e09ff83bed2f2894b13
[SPARC64]: Fix MD property lifetime bugs.

Property values cannot be referenced outside of
mdesc_grab()/mdesc_release() pairs.  The only major
offender was the VIO bus layer, easily fixed.

Add some commentary to mdesc.h describing these rules.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/vio.c
include/asm-sparc64/mdesc.h
include/asm-sparc64/vio.h