Linus Torvalds writes: (Summary)
In fact, it used to be a "%08lx" - and the value we print out is
"unsigned long - but then when we unified the 32- and 64-bit
architectures, using "%p" and a cast was a convenient way to unify the
32-bit %08lx and the 16-bit %016lx formats.
32-bit %08lx and the 16-bit %016lx formats.
Will fix.
Will fix.
mm/memory.c was all about x86:
+ printk(KERN_ALERT "current->tss.cr3 = %08lx, %%cr3 = %08lx\n", + current->tss.cr3, user_esp);
+ user_esp = ((unsigned long *) user_esp)[address >>
32-bit %08lx and the 16-bit %016lx formats.
Will fix.
Will fix.
[...]
...[...]
or is it OK to show hashes instead of pgd or pmd pointers? This is from the 1.1.7 patch, back when mm/memory.c was all about x86:mm/memory.c was all about x86:
+ printk(KERN_ALERT "current->tss.cr3 = %08lx, %%cr3 = %08lx\n", + current->tss.cr3, user_esp);
+ user_esp = ((unsigned long *) user_esp)[address >>