kdb: use task_cpu() instead of task_thread_info()->cpu
authorAndy Lutomirski <luto@kernel.org>
Thu, 28 Jul 2016 22:48:20 +0000 (15:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Jul 2016 23:07:41 +0000 (16:07 -0700)
commite558af65be65713ef2e8b2aa637c6263caeed172
treec67c5224e71b07b2bf9280caf45cc3a7d472cf9f
parentefdc94907977d2db84b4b00cb9bd98ca011f6819
kdb: use task_cpu() instead of task_thread_info()->cpu

We'll need this cleanup to make the cpu field in thread_info be
optional.

Link: http://lkml.kernel.org/r/da298328dc77ea494576c2f20a934218e758a6fa.1468523549.git.luto@kernel.org
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kdb.h