mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Commit better SPARC32 fix for obp_devclose().
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@852 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
287779605b
commit
0d2c29f1ef
@@ -279,11 +279,10 @@ static int obp_devopen(char *str)
|
||||
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user