diff options
author | Graf Yang <graf.yang@analog.com> | 2009-09-21 07:51:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 07:18:13 -0500 |
commit | 75734e660665b9bb5da8fc06beb491b716f9af77 (patch) | |
tree | 7d734fbeacbb6672bc47badbf0f3a534e9a94071 /arch/blackfin/mach-bf561/include | |
parent | 71a516adb6f3f178b0a961c55e7da75f8947afa5 (diff) |
Blackfin: SMP: tweak platform_request_ipi() usage
This function takes an irq_handler_t function, but the prototype in
the header doesn't match the function definition. This is due to the
smp headers needing to avoid circular dependencies. So change the
function to take a simple pointer.
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/include')
-rw-r--r-- | arch/blackfin/mach-bf561/include/mach/smp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/include/mach/smp.h b/arch/blackfin/mach-bf561/include/mach/smp.h index 2c8c514dd386..70cafb9c334d 100644 --- a/arch/blackfin/mach-bf561/include/mach/smp.h +++ b/arch/blackfin/mach-bf561/include/mach/smp.h | |||
@@ -7,6 +7,8 @@ | |||
7 | #ifndef _MACH_BF561_SMP | 7 | #ifndef _MACH_BF561_SMP |
8 | #define _MACH_BF561_SMP | 8 | #define _MACH_BF561_SMP |
9 | 9 | ||
10 | /* This header has to stand alone to avoid circular deps */ | ||
11 | |||
10 | struct task_struct; | 12 | struct task_struct; |
11 | 13 | ||
12 | void platform_init_cpus(void); | 14 | void platform_init_cpus(void); |
@@ -17,7 +19,7 @@ int platform_boot_secondary(unsigned int cpu, struct task_struct *idle); | |||
17 | 19 | ||
18 | void platform_secondary_init(unsigned int cpu); | 20 | void platform_secondary_init(unsigned int cpu); |
19 | 21 | ||
20 | void platform_request_ipi(int (*handler)(int, void *)); | 22 | void platform_request_ipi(/*irq_handler_t*/ void *handler); |
21 | 23 | ||
22 | void platform_send_ipi(cpumask_t callmap); | 24 | void platform_send_ipi(cpumask_t callmap); |
23 | 25 | ||