|
@@ -189,6 +189,8 @@ no_context:
|
|
|
|
|
|
page = sysreg_read(PTBR);
|
|
page = sysreg_read(PTBR);
|
|
printk(KERN_ALERT "ptbr = %08lx", page);
|
|
printk(KERN_ALERT "ptbr = %08lx", page);
|
|
|
|
+ if (address >= TASK_SIZE)
|
|
|
|
+ page = (unsigned long)swapper_pg_dir;
|
|
if (page) {
|
|
if (page) {
|
|
page = ((unsigned long *)page)[address >> 22];
|
|
page = ((unsigned long *)page)[address >> 22];
|
|
printk(" pgd = %08lx", page);
|
|
printk(" pgd = %08lx", page);
|