From 06868c1709c59ce06a367e333dda76c340e892fb Mon Sep 17 00:00:00 2001 From: Mikael Pettersson Date: Wed, 24 Jul 2002 19:15:54 -0700 Subject: [PATCH] fix two unwrapped uses of thread_info->cpu This patch for 2.5.28 fixes two explicit accesses to thread_info->cpu in generic code to use the new UP-optimised macros instead. --- fs/proc/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/proc/array.c') diff --git a/fs/proc/array.c b/fs/proc/array.c index 8001f3faed1b..0084e27fe7a8 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -386,7 +386,7 @@ int proc_pid_stat(struct task_struct *task, char * buffer) task->nswap, task->cnswap, task->exit_signal, - task->thread_info->cpu, + task_cpu(task), task->rt_priority, task->policy); if(mm) -- cgit v1.2.3