Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302781
b: refs/heads/master
c: 3b0132c
h: refs/heads/master
i:
  302779: 7d90308
v: v3
  • Loading branch information
Thomas Gleixner committed Apr 26, 2012
1 parent e2bfbc1 commit 31cc368
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 360014a36170464ebd9935514f0e0e3d558b0e56
refs/heads/master: 3b0132ce4fff68b30abdfcb74cffc283af711076
1 change: 1 addition & 0 deletions trunk/arch/hexagon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ config HEXAGON
select HAVE_ARCH_TRACEHOOK
select NO_IOPORT
select GENERIC_IOMAP
select GENERIC_SMP_IDLE_THREAD
# mostly generic routines, with some accelerated ones
---help---
Qualcomm Hexagon is a processor architecture designed for high
Expand Down
11 changes: 2 additions & 9 deletions trunk/arch/hexagon/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,18 +196,11 @@ void __cpuinit start_secondary(void)
* maintains control until "cpu_online(cpu)" is set.
*/

int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *tidle)
int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle)
{
struct task_struct *idle;
struct thread_info *thread;
struct thread_info *thread = (struct thread_info *)idle->stack;
void *stack_start;

/* Create new init task for the CPU */
idle = fork_idle(cpu);
if (IS_ERR(idle))
panic(KERN_ERR "fork_idle failed\n");

thread = (struct thread_info *)idle->stack;
thread->cpu = cpu;

/* Boot to the head. */
Expand Down

0 comments on commit 31cc368

Please sign in to comment.