.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * arch/arm/include/asm/smp.h |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2004-2005 ARM Ltd. |
---|
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. |
---|
9 | 6 | */ |
---|
10 | 7 | #ifndef __ASM_ARM_SMP_H |
---|
11 | 8 | #define __ASM_ARM_SMP_H |
---|
.. | .. |
---|
42 | 39 | */ |
---|
43 | 40 | extern void smp_init_cpus(void); |
---|
44 | 41 | |
---|
45 | | - |
---|
46 | 42 | /* |
---|
47 | | - * Provide a function to raise an IPI cross call on CPUs in callmap. |
---|
| 43 | + * Register IPI interrupts with the arch SMP code |
---|
48 | 44 | */ |
---|
49 | | -extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int)); |
---|
50 | | - |
---|
51 | | -/* |
---|
52 | | - * Provide a function to set a callback function pointer for updating the ipi |
---|
53 | | - * history. |
---|
54 | | - */ |
---|
55 | | -extern void set_update_ipi_history_callback(void (*fn)(int)); |
---|
| 45 | +extern void set_smp_ipi_range(int ipi_base, int nr_ipi); |
---|
56 | 46 | |
---|
57 | 47 | /* |
---|
58 | 48 | * Called from platform specific assembly code, this is the |
---|
.. | .. |
---|
73 | 63 | void *stack; |
---|
74 | 64 | }; |
---|
75 | 65 | extern struct secondary_data secondary_data; |
---|
76 | | -extern volatile int pen_release; |
---|
77 | 66 | extern void secondary_startup(void); |
---|
78 | 67 | extern void secondary_startup_arm(void); |
---|
79 | 68 | |
---|
.. | .. |
---|
123 | 112 | |
---|
124 | 113 | #define CPU_METHOD_OF_DECLARE(name, _method, _ops) \ |
---|
125 | 114 | static const struct of_cpu_method __cpu_method_of_table_##name \ |
---|
126 | | - __used __section(__cpu_method_of_table) \ |
---|
| 115 | + __used __section("__cpu_method_of_table") \ |
---|
127 | 116 | = { .method = _method, .ops = _ops } |
---|
128 | 117 | /* |
---|
129 | 118 | * set platform specific SMP operations |
---|