hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm/probes/kprobes/test-core.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/probes/kprobes/test-core.h
34 *
45 * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>.
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 #define VERBOSE 0 /* Set to '1' for more logging of test cases */
....@@ -111,6 +108,7 @@
111108
112109 #define TESTCASE_START(title) \
113110 __asm__ __volatile__ ( \
111
+ ".syntax unified \n\t" \
114112 "bl __kprobes_test_case_start \n\t" \
115113 ".pushsection .rodata \n\t" \
116114 "10: \n\t" \
....@@ -456,3 +454,7 @@
456454 #else
457455 void kprobe_arm_test_cases(void);
458456 #endif
457
+
458
+void __kprobes_test_case_start(void);
459
+void __kprobes_test_case_end_16(void);
460
+void __kprobes_test_case_end_32(void);