x86/compat: remove is_compat_task()
[deliverable/linux.git] / arch / x86 / kernel / process_64.c
index b9d99e0f82c4f072a15f7cb3fb3434d391281daf..dfa2781610e8e435953bd09f5b1e51b8ee5e103a 100644 (file)
@@ -116,6 +116,8 @@ void __show_regs(struct pt_regs *regs, int all)
        printk(KERN_DEFAULT "DR0: %016lx DR1: %016lx DR2: %016lx\n", d0, d1, d2);
        printk(KERN_DEFAULT "DR3: %016lx DR6: %016lx DR7: %016lx\n", d3, d6, d7);
 
+       if (boot_cpu_has(X86_FEATURE_OSPKE))
+               printk(KERN_DEFAULT "PKRU: %08x\n", read_pkru());
 }
 
 void release_thread(struct task_struct *dead_task)
@@ -476,7 +478,7 @@ void set_personality_ia32(bool x32)
                if (current->mm)
                        current->mm->context.ia32_compat = TIF_X32;
                current->personality &= ~READ_IMPLIES_EXEC;
-               /* is_compat_task() uses the presence of the x32
+               /* in_compat_syscall() uses the presence of the x32
                   syscall bit flag to determine compat status */
                current_thread_info()->status &= ~TS_COMPAT;
        } else {
This page took 0.024627 seconds and 5 git commands to generate.