Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This file is based ARM realview platform. |
| 3 | * Copyright (C) ARM Limited. |
| 4 | * |
| 5 | * This file is licensed under the terms of the GNU General Public |
| 6 | * License version 2. This program is licensed "as is" without any |
| 7 | * warranty of any kind, whether express or implied. |
| 8 | */ |
| 9 | #ifndef ASMARM_ARCH_SMP_H |
| 10 | #define ASMARM_ARCH_SMP_H |
| 11 | |
| 12 | #include <asm/hardware/gic.h> |
Russell King | 0671735 | 2010-09-04 16:14:20 +0100 | [diff] [blame] | 13 | #include <asm/smp_mpidr.h> |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 14 | |
| 15 | /* This is required to wakeup the secondary core */ |
| 16 | extern void u8500_secondary_startup(void); |
| 17 | |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 18 | /* |
| 19 | * We use IRQ1 as the IPI |
| 20 | */ |
| 21 | static inline void smp_cross_call(const struct cpumask *mask) |
| 22 | { |
| 23 | gic_raise_softirq(mask, 1); |
| 24 | } |
| 25 | #endif |