Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cascardo/linux.git] / include / linux / kdb.h
index a19bcf9..410deca 100644 (file)
@@ -177,7 +177,7 @@ extern int kdb_get_kbd_char(void);
 static inline
 int kdb_process_cpu(const struct task_struct *p)
 {
-       unsigned int cpu = task_thread_info(p)->cpu;
+       unsigned int cpu = task_cpu(p);
        if (cpu > num_possible_cpus())
                cpu = 0;
        return cpu;