mirror of
https://github.com/crash-utility/crash
synced 2025-02-22 16:36:48 +00:00
Account for the Linux 3.17 increase of the ARM64 MAX_PHYSMEM_BITS
definition from 40 to 48. (Johan.Erlandsson.sonymobile.com)
This commit is contained in:
parent
fd2f8ef41e
commit
956e309ff1
5
arm64.c
5
arm64.c
@ -267,7 +267,10 @@ arm64_init(int when)
|
||||
case POST_GDB:
|
||||
arm64_calc_virtual_memory_ranges();
|
||||
machdep->section_size_bits = _SECTION_SIZE_BITS;
|
||||
machdep->max_physmem_bits = _MAX_PHYSMEM_BITS;
|
||||
if (THIS_KERNEL_VERSION >= LINUX(3,17,0))
|
||||
machdep->max_physmem_bits = _MAX_PHYSMEM_BITS_3_17;
|
||||
else
|
||||
machdep->max_physmem_bits = _MAX_PHYSMEM_BITS;
|
||||
ms = machdep->machspec;
|
||||
|
||||
if (THIS_KERNEL_VERSION >= LINUX(4,0,0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user