Skip to content
Commit a94a172d authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Work around memory probing bug in openfirmware.



Read all of the OF memory and translation tables, then read
the physical available memory list twice.

When making these requests, OF can allocate more memory to
do it's job, which can remove pages from the available
memory list.

So fetch in all of the tables at once, and fetch the available
list last to make sure we read a stable value.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8bf3028e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment