Loading arch/arm/kernel/process.c +9 −6 Original line number Diff line number Diff line Loading @@ -321,12 +321,10 @@ static void show_data(unsigned long addr, int nbytes, const char *name) u32 *p; /* * don't attempt to dump non-kernel addresses, values that are probably * just small negative numbers, or vmalloc addresses that may point to * memory-mapped peripherals * don't attempt to dump non-kernel addresses or * values that are probably just small negative numbers */ if (addr < PAGE_OFFSET || addr > -256UL || is_vmalloc_addr((void *)addr)) if (addr < PAGE_OFFSET || addr > -256UL) return; printk("\n%s: %#lx:\n", name, addr); Loading @@ -348,7 +346,12 @@ static void show_data(unsigned long addr, int nbytes, const char *name) printk("%04lx ", (unsigned long)p & 0xffff); for (j = 0; j < 8; j++) { u32 data; if (probe_kernel_address(p, data)) { /* * vmalloc addresses may point to * memory-mapped peripherals */ if (is_vmalloc_addr(p) || probe_kernel_address(p, data)) { printk(" ********"); } else { printk(" %08x", data); Loading Loading
arch/arm/kernel/process.c +9 −6 Original line number Diff line number Diff line Loading @@ -321,12 +321,10 @@ static void show_data(unsigned long addr, int nbytes, const char *name) u32 *p; /* * don't attempt to dump non-kernel addresses, values that are probably * just small negative numbers, or vmalloc addresses that may point to * memory-mapped peripherals * don't attempt to dump non-kernel addresses or * values that are probably just small negative numbers */ if (addr < PAGE_OFFSET || addr > -256UL || is_vmalloc_addr((void *)addr)) if (addr < PAGE_OFFSET || addr > -256UL) return; printk("\n%s: %#lx:\n", name, addr); Loading @@ -348,7 +346,12 @@ static void show_data(unsigned long addr, int nbytes, const char *name) printk("%04lx ", (unsigned long)p & 0xffff); for (j = 0; j < 8; j++) { u32 data; if (probe_kernel_address(p, data)) { /* * vmalloc addresses may point to * memory-mapped peripherals */ if (is_vmalloc_addr(p) || probe_kernel_address(p, data)) { printk(" ********"); } else { printk(" %08x", data); Loading