diff options
author | Graf Yang <graf.yang@analog.com> | 2009-09-21 13:51:31 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 13:18:13 +0100 |
commit | 75734e660665b9bb5da8fc06beb491b716f9af77 (patch) | |
tree | 7d734fbeacbb6672bc47badbf0f3a534e9a94071 /arch/blackfin/mach-common/smp.c | |
parent | Blackfin: SMP: fix asm/bitops.h errors (diff) | |
download | linux-75734e660665b9bb5da8fc06beb491b716f9af77.tar.xz linux-75734e660665b9bb5da8fc06beb491b716f9af77.zip |
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-common/smp.c')
-rw-r--r-- | arch/blackfin/mach-common/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/smp.c index 06d6dda05084..930608dd358d 100644 --- a/arch/blackfin/mach-common/smp.c +++ b/arch/blackfin/mach-common/smp.c @@ -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) |