smp.c (cf9ce948f47640797bd19980e1d99c6d17d0bdc3) smp.c (b1cffebf1029c87e1f1984d48463ee21093a6bc7)
1/*
2 * linux/arch/arm/kernel/smp.c
3 *
4 * Copyright (C) 2002 ARM Limited, All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 402 unchanged lines hidden (view full) ---

411 platform_smp_prepare_cpus(max_cpus);
412 }
413}
414
415static void (*smp_cross_call)(const struct cpumask *, unsigned int);
416
417void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int))
418{
1/*
2 * linux/arch/arm/kernel/smp.c
3 *
4 * Copyright (C) 2002 ARM Limited, All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 402 unchanged lines hidden (view full) ---

411 platform_smp_prepare_cpus(max_cpus);
412 }
413}
414
415static void (*smp_cross_call)(const struct cpumask *, unsigned int);
416
417void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int))
418{
419 smp_cross_call = fn;
419 if (!smp_cross_call)
420 smp_cross_call = fn;
420}
421
422void arch_send_call_function_ipi_mask(const struct cpumask *mask)
423{
424 smp_cross_call(mask, IPI_CALL_FUNC);
425}
426
427void arch_send_wakeup_ipi_mask(const struct cpumask *mask)

--- 304 unchanged lines hidden ---
421}
422
423void arch_send_call_function_ipi_mask(const struct cpumask *mask)
424{
425 smp_cross_call(mask, IPI_CALL_FUNC);
426}
427
428void arch_send_wakeup_ipi_mask(const struct cpumask *mask)

--- 304 unchanged lines hidden ---