summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2004-06-07 19:27:15 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2004-06-07 19:27:15 -0700
commit369a536059fec1a6eef8d7e91cee4f0e9cff7b7b (patch)
treed04a45367fad1711259c233c6301e49a439e918f /kernel
parenteb18549a95857c00bfade5dc0ee672f4e6d94c5d (diff)
[PATCH] Make paca xCurrent field be a pointer
The paca struct contains a pointer to the current task, which is used for the `current' macro. For some reason, this field is a u64, and every time we use it we need a cast, because it is really a pointer. This patch cleans things up a little by making it a pointer to struct task_struct and removing the casts. It also removes a now-incorrect comment which said that r13 contains current (it now holds &paca[smp_processor_id()]). Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions