diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-08-14 23:12:42 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-14 23:12:42 +0000 |
commit | 6d41d00029e4688244b606623677a48a749059c2 (patch) | |
tree | 6d91a670518a0238e0030c4bc6773d8c1abe4f92 | |
parent | ea2f8e8ce0074d79eaee4a514750b94457d8e5ad (diff) | |
parent | fa9657808759674b91458f7e1543018b71ef00a5 (diff) | |
download | v4.4-6d41d00029e4688244b606623677a48a749059c2.tar.gz |
UPSTREAM: kdb: use task_cpu() instead of task_thread_info()->cpu am: c932c1b773
am: fa96578087
Change-Id: Ia86eb63ee6106b1db571df878e598e0ac01a4aad
-rw-r--r-- | include/linux/kdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kdb.h b/include/linux/kdb.h index a19bcf9e762e..410decacff8f 100644 --- a/include/linux/kdb.h +++ b/include/linux/kdb.h @@ -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; |