hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/arm64/kernel/cpu-reset.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * CPU reset routines
34 *
45 * Copyright (C) 2015 Huawei Futurewei Technologies.
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
118 #ifndef _ARM64_CPU_RESET_H
....@@ -16,10 +13,10 @@
1613 void __cpu_soft_restart(unsigned long el2_switch, unsigned long entry,
1714 unsigned long arg0, unsigned long arg1, unsigned long arg2);
1815
19
-static inline void __noreturn cpu_soft_restart(unsigned long entry,
20
- unsigned long arg0,
21
- unsigned long arg1,
22
- unsigned long arg2)
16
+static inline void __noreturn __nocfi cpu_soft_restart(unsigned long entry,
17
+ unsigned long arg0,
18
+ unsigned long arg1,
19
+ unsigned long arg2)
2320 {
2421 typeof(__cpu_soft_restart) *restart;
2522