Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
97ab3682
Commit
97ab3682
authored
Jul 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: _switch_to -> __switch_to
parent
a18c494e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
arch/ppc64/kernel/process.c
arch/ppc64/kernel/process.c
+1
-1
include/asm-ppc64/system.h
include/asm-ppc64/system.h
+2
-3
No files found.
arch/ppc64/kernel/process.c
View file @
97ab3682
...
...
@@ -75,7 +75,7 @@ dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
}
void
_switch_to
(
struct
task_struct
*
prev
,
struct
task_struct
*
new
)
_
_
switch_to
(
struct
task_struct
*
prev
,
struct
task_struct
*
new
)
{
struct
thread_struct
*
new_thread
,
*
old_thread
;
unsigned
long
flags
;
...
...
include/asm-ppc64/system.h
View file @
97ab3682
...
...
@@ -85,9 +85,8 @@ extern void cvt_df(double *from, float *to, unsigned long *fpscr);
extern
int
abs
(
int
);
struct
task_struct
;
#define prepare_to_switch() do { } while(0)
#define switch_to(prev,next,last) _switch_to((prev),(next))
extern
void
_switch_to
(
struct
task_struct
*
,
struct
task_struct
*
);
extern
void
__switch_to
(
struct
task_struct
*
,
struct
task_struct
*
);
#define switch_to(prev, next, last) __switch_to((prev), (next))
#define prepare_arch_schedule(prev) do { } while(0)
#define finish_arch_schedule(prev) do { } while(0)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment