commit | a94a172d6c826232e623160ae134abbce181a41f | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun May 11 21:04:48 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun May 11 21:04:48 2008 -0700 |
tree | 2e2bfde5fa2b29ad7854b75248195caf2b9253f7 | |
parent | 8bf3028ede10dfe22e1729ebad96f6eb77020712 [diff] |
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: David S. Miller <davem@davemloft.net>