Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228436
b: refs/heads/master
c: 75734e6
h: refs/heads/master
v: v3
  • Loading branch information
Graf Yang authored and Mike Frysinger committed Jan 10, 2011
1 parent a7af88a commit 64bb076
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 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: 71a516adb6f3f178b0a961c55e7da75f8947afa5
refs/heads/master: 75734e660665b9bb5da8fc06beb491b716f9af77
4 changes: 3 additions & 1 deletion trunk/arch/blackfin/mach-bf561/include/mach/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifndef _MACH_BF561_SMP
#define _MACH_BF561_SMP

/* This header has to stand alone to avoid circular deps */

struct task_struct;

void platform_init_cpus(void);
Expand All @@ -17,7 +19,7 @@ int platform_boot_secondary(unsigned int cpu, struct task_struct *idle);

void platform_secondary_init(unsigned int cpu);

void platform_request_ipi(int (*handler)(int, void *));
void platform_request_ipi(/*irq_handler_t*/ void *handler);

void platform_send_ipi(cpumask_t callmap);

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/blackfin/mach-bf561/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int __cpuinit platform_boot_secondary(unsigned int cpu, struct task_struct *idle
panic("CPU%u: processor failed to boot\n", cpu);
}

void __init platform_request_ipi(irq_handler_t handler)
void __init platform_request_ipi(void *handler)
{
int ret;

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/blackfin/mach-common/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
{
platform_prepare_cpus(max_cpus);
ipi_queue_init();
platform_request_ipi(&ipi_handler);
platform_request_ipi(ipi_handler);
}

void __init smp_cpus_done(unsigned int max_cpus)
Expand Down

0 comments on commit 64bb076

Please sign in to comment.