hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/c6x/kernel/entry.S
....@@ -1,13 +1,10 @@
1
+; SPDX-License-Identifier: GPL-2.0-only
12 ;
23 ; Port on Texas Instruments TMS320C6x architecture
34 ;
45 ; Copyright (C) 2004-2011 Texas Instruments Incorporated
56 ; Author: Aurelien Jacquiot (aurelien.jacquiot@virtuallogix.com)
67 ; Updated for 2.6.34: Mark Salter <msalter@redhat.com>
7
-;
8
-; This program is free software; you can redistribute it and/or modify
9
-; it under the terms of the GNU General Public License version 2 as
10
-; published by the Free Software Foundation.
118 ;
129
1310 #include <linux/sys.h>
....@@ -21,7 +18,7 @@
2118 #define DP B14
2219 #define SP B15
2320
24
-#ifndef CONFIG_PREEMPT
21
+#ifndef CONFIG_PREEMPTION
2522 #define resume_kernel restore_all
2623 #endif
2724
....@@ -290,7 +287,7 @@
290287 ;; is a little bit different
291288 ;;
292289 ENTRY(ret_from_exception)
293
-#ifdef CONFIG_PREEMPT
290
+#ifdef CONFIG_PREEMPTION
294291 MASK_INT B2
295292 #endif
296293
....@@ -560,7 +557,7 @@
560557 ;;
561558 ;; Jump to schedule() then return to ret_from_isr
562559 ;;
563
-#ifdef CONFIG_PREEMPT
560
+#ifdef CONFIG_PREEMPTION
564561 resume_kernel:
565562 GET_THREAD_INFO A12
566563 LDW .D1T1 *+A12(THREAD_INFO_PREEMPT_COUNT),A1
....@@ -585,7 +582,7 @@
585582 B .S2 preempt_schedule_irq
586583 #endif
587584 ADDKPC .S2 preempt_schedule,B3,4
588
-#endif /* CONFIG_PREEMPT */
585
+#endif /* CONFIG_PREEMPTION */
589586
590587 ENTRY(enable_exception)
591588 DINT