git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove obsolete #include <linux/config.h>
[pandora-kernel.git]
/
arch
/
powerpc
/
platforms
/
cell
/
smp.c
diff --git
a/arch/powerpc/platforms/cell/smp.c
b/arch/powerpc/platforms/cell/smp.c
index
de96ead
..
46aef06
100644
(file)
--- a/
arch/powerpc/platforms/cell/smp.c
+++ b/
arch/powerpc/platforms/cell/smp.c
@@
-14,7
+14,6
@@
#undef DEBUG
#undef DEBUG
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
@@
-86,7
+85,7
@@
static inline int __devinit smp_startup_cpu(unsigned int lcpu)
pcpu = get_hard_smp_processor_id(lcpu);
/* Fixup atomic count: it exited inside IRQ handler. */
pcpu = get_hard_smp_processor_id(lcpu);
/* Fixup atomic count: it exited inside IRQ handler. */
-
paca[lcpu].__current->thread_info->preempt_count
= 0;
+
task_thread_info(paca[lcpu].__current)->preempt_count
= 0;
/*
* If the RTAS start-cpu token does not exist then presume the
/*
* If the RTAS start-cpu token does not exist then presume the