[PowerPC64LE] Endian fix for opal_dev.c.
Not much to say here, another missing be64toh() in memory that was written from OPAL. Sponsored by: Tag1 Consulting, Inc.
This commit is contained in:
parent
9cbcb6ffce
commit
bf933a83ec
@ -135,7 +135,7 @@ opal_heartbeat(void)
|
||||
events = 0;
|
||||
/* Turn the OPAL state crank */
|
||||
opal_call(OPAL_POLL_EVENTS, vtophys(&events));
|
||||
if (events & OPAL_EVENT_MSG_PENDING)
|
||||
if (be64toh(events) & OPAL_EVENT_MSG_PENDING)
|
||||
opal_handle_messages();
|
||||
tsleep(opal_hb_proc, 0, "opal",
|
||||
MSEC_2_TICKS(opal_heartbeat_ms));
|
||||
|
Loading…
Reference in New Issue
Block a user