j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: mcayland Date: Wed Aug 11 22:59:18 2010 New Revision: 852 URL: http://tracker.coreboot.org/trac/openbios/changeset/852
Log: Commit better SPARC32 fix for obp_devclose().
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
Modified: trunk/openbios-devel/arch/sparc32/romvec.c
Modified: trunk/openbios-devel/arch/sparc32/romvec.c ============================================================================== --- trunk/openbios-devel/arch/sparc32/romvec.c Wed Aug 11 22:57:53 2010 (r851) +++ trunk/openbios-devel/arch/sparc32/romvec.c Wed Aug 11 22:59:18 2010 (r852) @@ -279,11 +279,10 @@
static int obp_devclose(int dev_desc) { - int ret; + int ret = 1;
PUSH(dev_desc); fword("close-dev"); - ret = POP();
DPRINTF("obp_devclose(0x%x) = %d\n", dev_desc, ret);