diff options
| author | Mikael Pettersson <mikpe@csd.uu.se> | 2002-07-24 19:15:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-24 19:15:54 -0700 |
| commit | 06868c1709c59ce06a367e333dda76c340e892fb (patch) | |
| tree | f6e2e22f3b43b67637dcbfbdd32c1bd98dfefcf5 /fs/proc/array.c | |
| parent | d53948ebe75adf011733f4a013bfe1c645df22fe (diff) | |
[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.
Diffstat (limited to 'fs/proc/array.c')
| -rw-r--r-- | fs/proc/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
