powerpc/kgdb: use DEFINE_PER_CPU to allocate kgdb's thread_info
authorTiejun Chen <tiejun.chen@windriver.com>
Thu, 20 Jun 2013 10:28:29 +0000 (18:28 +0800)
committerScott Wood <scottwood@freescale.com>
Fri, 18 Oct 2013 23:38:10 +0000 (18:38 -0500)
Use DEFINE_PER_CPU to allocate thread_info statically instead of kmalloc().
This can avoid introducing more memory check codes.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
[scottwood@freescale.com: wrapped long line]
Signed-off-by: Scott Wood <scottwood@freescale.com>

No differences found