diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2007-05-09 11:35:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 21:30:56 +0200 |
commit | c9f4f06d3191bd91c1a081b54a6c8e913e7b8a83 (patch) | |
tree | fe6bb926f612e67b1e57c6a448c7e5d41dd69dad /include/asm-mips/system.h | |
parent | Allow arch to initialize arch field of the module structure (diff) | |
download | linux-c9f4f06d3191bd91c1a081b54a6c8e913e7b8a83.tar.xz linux-c9f4f06d3191bd91c1a081b54a6c8e913e7b8a83.zip |
wrap access to thread_info
Recently a few direct accesses to the thread_info in the task structure snuck
back, so this wraps them with the appropriate wrapper.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-mips/system.h')
-rw-r--r-- | include/asm-mips/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 30f23a2b46ca..3713d256d369 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h @@ -55,7 +55,7 @@ do { \ if (cpu_has_dsp) \ __save_dsp(prev); \ next->thread.emulated_fp = 0; \ - (last) = resume(prev, next, next->thread_info); \ + (last) = resume(prev, next, task_thread_info(next)); \ if (cpu_has_dsp) \ __restore_dsp(current); \ } while(0) |