aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-13 15:24:14 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-09-03 14:53:17 -0400
commit850a45209d44654afb8ee2cad53a67c07c1cef9c (patch)
treeebbc64214d1557f1f156764ac9e4e13b57137bbd /arch
parent7b770a6a0a8504327224ad891d6862893456290d (diff)
tile: change <asm/system.h> to <asm/switch_to.h> in comments
Also fix mentions of it in #error statements. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/tile/kernel/regs_32.S4
-rw-r--r--arch/tile/kernel/regs_64.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/tile/kernel/regs_32.S b/arch/tile/kernel/regs_32.S
index c12280c2d904..542cae17a93a 100644
--- a/arch/tile/kernel/regs_32.S
+++ b/arch/tile/kernel/regs_32.S
@@ -20,7 +20,7 @@
20#include <asm/switch_to.h> 20#include <asm/switch_to.h>
21 21
22/* 22/*
23 * See <asm/system.h>; called with prev and next task_struct pointers. 23 * See <asm/switch_to.h>; called with prev and next task_struct pointers.
24 * "prev" is returned in r0 for _switch_to and also for ret_from_fork. 24 * "prev" is returned in r0 for _switch_to and also for ret_from_fork.
25 * 25 *
26 * We want to save pc/sp in "prev", and get the new pc/sp from "next". 26 * We want to save pc/sp in "prev", and get the new pc/sp from "next".
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#if CALLEE_SAVED_REGS_COUNT != 24 41#if CALLEE_SAVED_REGS_COUNT != 24
42# error Mismatch between <asm/system.h> and kernel/entry.S 42# error Mismatch between <asm/switch_to.h> and kernel/entry.S
43#endif 43#endif
44#define FRAME_SIZE ((2 + CALLEE_SAVED_REGS_COUNT) * 4) 44#define FRAME_SIZE ((2 + CALLEE_SAVED_REGS_COUNT) * 4)
45 45
diff --git a/arch/tile/kernel/regs_64.S b/arch/tile/kernel/regs_64.S
index 0829fd01fa30..bbffcc6f340f 100644
--- a/arch/tile/kernel/regs_64.S
+++ b/arch/tile/kernel/regs_64.S
@@ -20,7 +20,7 @@
20#include <asm/switch_to.h> 20#include <asm/switch_to.h>
21 21
22/* 22/*
23 * See <asm/system.h>; called with prev and next task_struct pointers. 23 * See <asm/switch_to.h>; called with prev and next task_struct pointers.
24 * "prev" is returned in r0 for _switch_to and also for ret_from_fork. 24 * "prev" is returned in r0 for _switch_to and also for ret_from_fork.
25 * 25 *
26 * We want to save pc/sp in "prev", and get the new pc/sp from "next". 26 * We want to save pc/sp in "prev", and get the new pc/sp from "next".
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#if CALLEE_SAVED_REGS_COUNT != 24 41#if CALLEE_SAVED_REGS_COUNT != 24
42# error Mismatch between <asm/system.h> and kernel/entry.S 42# error Mismatch between <asm/switch_to.h> and kernel/entry.S
43#endif 43#endif
44#define FRAME_SIZE ((2 + CALLEE_SAVED_REGS_COUNT) * 8) 44#define FRAME_SIZE ((2 + CALLEE_SAVED_REGS_COUNT) * 8)
45 45