diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 04:06:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 12:08:58 -0500 |
commit | 718d6114fcd894bf4d3527b9e206a1cbcaaae35d (patch) | |
tree | 3a247a3f9201657ff67735b559984b87ecb1b12f /arch/cris/arch-v32/mm | |
parent | cfa0f29b6da2c4d45ecdeaabe17af4c4adc47c05 (diff) |
[PATCH] cris: task_thread_info()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/cris/arch-v32/mm')
-rw-r--r-- | arch/cris/arch-v32/mm/tlb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v32/mm/tlb.c b/arch/cris/arch-v32/mm/tlb.c index b08a28bb58ab..9d75d7692303 100644 --- a/arch/cris/arch-v32/mm/tlb.c +++ b/arch/cris/arch-v32/mm/tlb.c | |||
@@ -198,9 +198,9 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next, | |||
198 | per_cpu(current_pgd, cpu) = next->pgd; | 198 | per_cpu(current_pgd, cpu) = next->pgd; |
199 | 199 | ||
200 | /* Switch context in the MMU. */ | 200 | /* Switch context in the MMU. */ |
201 | if (tsk && tsk->thread_info) | 201 | if (tsk && task_thread_info(tsk)) |
202 | { | 202 | { |
203 | SPEC_REG_WR(SPEC_REG_PID, next->context.page_id | tsk->thread_info->tls); | 203 | SPEC_REG_WR(SPEC_REG_PID, next->context.page_id | task_thread_info(tsk)->tls); |
204 | } | 204 | } |
205 | else | 205 | else |
206 | { | 206 | { |