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>
This commit is contained in:
parent
7b770a6a0a
commit
850a45209d
2 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
||||||
#include <asm/switch_to.h>
|
#include <asm/switch_to.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See <asm/system.h>; called with prev and next task_struct pointers.
|
* See <asm/switch_to.h>; called with prev and next task_struct pointers.
|
||||||
* "prev" is returned in r0 for _switch_to and also for ret_from_fork.
|
* "prev" is returned in r0 for _switch_to and also for ret_from_fork.
|
||||||
*
|
*
|
||||||
* We want to save pc/sp in "prev", and get the new pc/sp from "next".
|
* We want to save pc/sp in "prev", and get the new pc/sp from "next".
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if CALLEE_SAVED_REGS_COUNT != 24
|
#if CALLEE_SAVED_REGS_COUNT != 24
|
||||||
# error Mismatch between <asm/system.h> and kernel/entry.S
|
# error Mismatch between <asm/switch_to.h> and kernel/entry.S
|
||||||
#endif
|
#endif
|
||||||
#define FRAME_SIZE ((2 + CALLEE_SAVED_REGS_COUNT) * 4)
|
#define FRAME_SIZE ((2 + CALLEE_SAVED_REGS_COUNT) * 4)
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <asm/switch_to.h>
|
#include <asm/switch_to.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See <asm/system.h>; called with prev and next task_struct pointers.
|
* See <asm/switch_to.h>; called with prev and next task_struct pointers.
|
||||||
* "prev" is returned in r0 for _switch_to and also for ret_from_fork.
|
* "prev" is returned in r0 for _switch_to and also for ret_from_fork.
|
||||||
*
|
*
|
||||||
* We want to save pc/sp in "prev", and get the new pc/sp from "next".
|
* We want to save pc/sp in "prev", and get the new pc/sp from "next".
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if CALLEE_SAVED_REGS_COUNT != 24
|
#if CALLEE_SAVED_REGS_COUNT != 24
|
||||||
# error Mismatch between <asm/system.h> and kernel/entry.S
|
# error Mismatch between <asm/switch_to.h> and kernel/entry.S
|
||||||
#endif
|
#endif
|
||||||
#define FRAME_SIZE ((2 + CALLEE_SAVED_REGS_COUNT) * 8)
|
#define FRAME_SIZE ((2 + CALLEE_SAVED_REGS_COUNT) * 8)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue