summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/oprofile/common.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2005-08-28 21:42:10 -0500
committerPaul Mackerras <paulus@samba.org>2005-08-30 13:32:08 +1000
commit7fea82ab1a74030f79a2adfac1af3d93b8638fc3 (patch)
tree9bf8a09179f60ddddbebceb4df34445eff12de16 /arch/ppc64/oprofile/common.c
parent6f9aa727433fe7647869c9b64ce2f7b5feac0052 (diff)
downloadop-kernel-dev-7fea82ab1a74030f79a2adfac1af3d93b8638fc3.zip
op-kernel-dev-7fea82ab1a74030f79a2adfac1af3d93b8638fc3.tar.gz
[PATCH] PPC64: Don't try to claim memory from OF at 1GB mark
Some RS64-based machines (p620, F80, others) have problems with firmware returning 0xdeadbeef instead of failure to allocations that end at the 1GB mark. We have two options: 1. Detect the undocumented 0xdeadbeef return value and interpret it as a failure. 2. Avoid allocating that high. (2) is really the cleaner solution here. 768MB is plenty of room so use that as the max alloc_top instead of 1GB. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/oprofile/common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud