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
nexedi
linux
Commits
6648f308
Commit
6648f308
authored
Jun 27, 2002
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: update for scheduler changes (switch_to, prepare/finish_arch_*).
parent
856091af
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
arch/ppc/kernel/process.c
arch/ppc/kernel/process.c
+1
-1
include/asm-ppc/system.h
include/asm-ppc/system.h
+11
-2
No files found.
arch/ppc/kernel/process.c
View file @
6648f308
...
...
@@ -197,7 +197,7 @@ dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
return
1
;
}
void
switch_to
(
struct
task_struct
*
prev
,
struct
task_struct
*
new
)
void
__
switch_to
(
struct
task_struct
*
prev
,
struct
task_struct
*
new
)
{
struct
thread_struct
*
new_thread
,
*
old_thread
;
unsigned
long
s
;
...
...
include/asm-ppc/system.h
View file @
6648f308
...
...
@@ -57,10 +57,14 @@ extern void hard_reset_now(void);
extern
void
poweroff_now
(
void
);
#ifdef CONFIG_6xx
extern
long
_get_L2CR
(
void
);
extern
long
_get_L3CR
(
void
);
extern
void
_set_L2CR
(
unsigned
long
);
extern
void
_set_L3CR
(
unsigned
long
);
#else
#define _get_L2CR() 0L
#define _get_L3CR() 0L
#define _set_L2CR(val) do { } while(0)
#define _set_L3CR(val) do { } while(0)
#endif
extern
void
via_cuda_init
(
void
);
extern
void
pmac_nvram_init
(
void
);
...
...
@@ -79,9 +83,14 @@ extern void cacheable_memzero(void *p, unsigned int nb);
struct
device_node
;
extern
void
note_scsi_host
(
struct
device_node
*
,
void
*
);
#define prepare_arch_schedule(prev) do { } while(0)
#define finish_arch_schedule(prev) do { } while(0)
#define prepare_arch_switch(rq) do { } while(0)
#define finish_arch_switch(rq) spin_unlock_irq(&(rq)->lock)
struct
task_struct
;
#define prepare_to_switch() do { } while(0)
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))
struct
thread_struct
;
extern
struct
task_struct
*
_switch
(
struct
thread_struct
*
prev
,
...
...
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