coredump: Exclude special areas
Fujitsu: POSTK_DEBUG_TEMP_FIX_38 Refs: #1005 Change-Id: I8934d2aecf06a09469afe131347e42b48b6f67f6
This commit is contained in:
committed by
Masamichi Takagi
parent
2910818f06
commit
a269d96978
@ -2255,11 +2255,9 @@ static int writecore(ihk_os_t os, unsigned long rcoretable, int chunks) {
|
||||
phys = ihk_device_map_memory(dev, rphys, size);
|
||||
dprintk("physical %lx, ", phys);
|
||||
pt = ihk_device_map_virtual(dev, phys, size, NULL, 0);
|
||||
#ifdef POSTK_DEBUG_TEMP_FIX_38
|
||||
if (pt == NULL) {
|
||||
pt = phys_to_virt(phys);
|
||||
}
|
||||
#endif /*POSTK_DEBUG_TEMP_FIX_38*/
|
||||
dprintk("virtual %p\n", pt);
|
||||
if (pt != NULL) {
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
|
||||
|
||||
Reference in New Issue
Block a user