hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/arm/include/asm/smp.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/include/asm/smp.h
34 *
45 * 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.
96 */
107 #ifndef __ASM_ARM_SMP_H
118 #define __ASM_ARM_SMP_H
....@@ -42,17 +39,10 @@
4239 */
4340 extern void smp_init_cpus(void);
4441
45
-
4642 /*
47
- * Provide a function to raise an IPI cross call on CPUs in callmap.
43
+ * Register IPI interrupts with the arch SMP code
4844 */
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);
5646
5747 /*
5848 * Called from platform specific assembly code, this is the
....@@ -73,7 +63,6 @@
7363 void *stack;
7464 };
7565 extern struct secondary_data secondary_data;
76
-extern volatile int pen_release;
7766 extern void secondary_startup(void);
7867 extern void secondary_startup_arm(void);
7968
....@@ -123,7 +112,7 @@
123112
124113 #define CPU_METHOD_OF_DECLARE(name, _method, _ops) \
125114 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") \
127116 = { .method = _method, .ops = _ops }
128117 /*
129118 * set platform specific SMP operations