diff options
| author | Tiejun Chen <tiejun.chen@windriver.com> | 2013-06-20 18:28:29 +0800 |
|---|---|---|
| committer | Scott Wood <scottwood@freescale.com> | 2013-10-18 18:38:10 -0500 |
| commit | 8258e268c15a29c09d7c88d91a948bdf729433d8 (patch) | |
| tree | 6b2631e5ae07efcc976709cdfbd94f1462efeb6f /lib/debugobjects.c | |
| parent | 9863c28a2af90a56c088f5f6288d7f6d2c923c14 (diff) | |
powerpc/kgdb: use DEFINE_PER_CPU to allocate kgdb's thread_info
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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
