Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283643
b: refs/heads/master
c: 8b30679
h: refs/heads/master
i:
  283641: 4f53407
  283639: 7cb2c13
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jan 9, 2012
1 parent ee42c43 commit b15898b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 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: f0eab3889e4b5b71e1609c9850f652f06a812cf5
refs/heads/master: 8b306796995609c281f6d32b3cbaa814551ad5ac
3 changes: 2 additions & 1 deletion trunk/arch/arm/mach-shmobile/hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/smp.h>
#include <mach/common.h>

int platform_cpu_kill(unsigned int cpu)
{
return 1;
return shmobile_platform_cpu_kill(cpu);
}

void platform_cpu_die(unsigned int cpu)
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-shmobile/include/mach/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
extern struct sys_timer shmobile_timer;
extern void shmobile_setup_console(void);
extern void shmobile_secondary_vector(void);
extern int shmobile_platform_cpu_kill(unsigned int cpu);
struct clk;
extern int clk_init(void);
extern void shmobile_handle_irq_intc(struct pt_regs *);
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-shmobile/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ static void __init shmobile_smp_prepare_cpus(void)
sh73a0_smp_prepare_cpus();
}

int shmobile_platform_cpu_kill(unsigned int cpu)
{
return 1;
}

void __cpuinit platform_secondary_init(unsigned int cpu)
{
trace_hardirqs_off();
Expand Down

0 comments on commit b15898b

Please sign in to comment.