.. | .. |
---|
| 1 | +; SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | ; |
---|
2 | 3 | ; Port on Texas Instruments TMS320C6x architecture |
---|
3 | 4 | ; |
---|
4 | 5 | ; Copyright (C) 2004-2011 Texas Instruments Incorporated |
---|
5 | 6 | ; Author: Aurelien Jacquiot (aurelien.jacquiot@virtuallogix.com) |
---|
6 | 7 | ; 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. |
---|
11 | 8 | ; |
---|
12 | 9 | |
---|
13 | 10 | #include <linux/sys.h> |
---|
.. | .. |
---|
21 | 18 | #define DP B14 |
---|
22 | 19 | #define SP B15 |
---|
23 | 20 | |
---|
24 | | -#ifndef CONFIG_PREEMPT |
---|
| 21 | +#ifndef CONFIG_PREEMPTION |
---|
25 | 22 | #define resume_kernel restore_all |
---|
26 | 23 | #endif |
---|
27 | 24 | |
---|
.. | .. |
---|
290 | 287 | ;; is a little bit different |
---|
291 | 288 | ;; |
---|
292 | 289 | ENTRY(ret_from_exception) |
---|
293 | | -#ifdef CONFIG_PREEMPT |
---|
| 290 | +#ifdef CONFIG_PREEMPTION |
---|
294 | 291 | MASK_INT B2 |
---|
295 | 292 | #endif |
---|
296 | 293 | |
---|
.. | .. |
---|
560 | 557 | ;; |
---|
561 | 558 | ;; Jump to schedule() then return to ret_from_isr |
---|
562 | 559 | ;; |
---|
563 | | -#ifdef CONFIG_PREEMPT |
---|
| 560 | +#ifdef CONFIG_PREEMPTION |
---|
564 | 561 | resume_kernel: |
---|
565 | 562 | GET_THREAD_INFO A12 |
---|
566 | 563 | LDW .D1T1 *+A12(THREAD_INFO_PREEMPT_COUNT),A1 |
---|
.. | .. |
---|
585 | 582 | B .S2 preempt_schedule_irq |
---|
586 | 583 | #endif |
---|
587 | 584 | ADDKPC .S2 preempt_schedule,B3,4 |
---|
588 | | -#endif /* CONFIG_PREEMPT */ |
---|
| 585 | +#endif /* CONFIG_PREEMPTION */ |
---|
589 | 586 | |
---|
590 | 587 | ENTRY(enable_exception) |
---|
591 | 588 | DINT |
---|