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
0c4a2e9c
Commit
0c4a2e9c
authored
Apr 11, 2002
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor PPC changes - add sched_get/setaffinity, include tlbflush.h
and cacheflush.h in a few places where they are needed.
parent
c7ad40cc
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
3 deletions
+12
-3
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+2
-0
arch/ppc/kernel/prom_init.c
arch/ppc/kernel/prom_init.c
+1
-0
arch/ppc/kernel/signal.c
arch/ppc/kernel/signal.c
+1
-0
arch/ppc/kernel/smp.c
arch/ppc/kernel/smp.c
+1
-0
arch/ppc/platforms/chrp_setup.c
arch/ppc/platforms/chrp_setup.c
+1
-1
arch/ppc/platforms/pmac_smp.c
arch/ppc/platforms/pmac_smp.c
+2
-0
include/asm-ppc/unistd.h
include/asm-ppc/unistd.h
+4
-2
No files found.
arch/ppc/kernel/misc.S
View file @
0c4a2e9c
...
...
@@ -1290,6 +1290,8 @@ _GLOBAL(sys_call_table)
.
long
sys_lremovexattr
.
long
sys_fremovexattr
/*
220
*/
.
long
sys_futex
.
long
sys_sched_setaffinity
.
long
sys_sched_getaffinity
.
rept
NR_syscalls
-(
.
-
sys_call_table
)/
4
.
long
sys_ni_syscall
.
endr
arch/ppc/kernel/prom_init.c
View file @
0c4a2e9c
...
...
@@ -32,6 +32,7 @@
#include <asm/btext.h>
#include <asm/pci-bridge.h>
#include <asm/open_pic.h>
#include <asm/cacheflush.h>
#ifdef CONFIG_FB
#include <asm/linux_logo.h>
...
...
arch/ppc/kernel/signal.c
View file @
0c4a2e9c
...
...
@@ -34,6 +34,7 @@
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
#define DEBUG_SIG 0
...
...
arch/ppc/kernel/smp.c
View file @
0c4a2e9c
...
...
@@ -38,6 +38,7 @@
#include <asm/residual.h>
#include <asm/time.h>
#include <asm/thread_info.h>
#include <asm/tlbflush.h>
int
smp_threads_ready
;
volatile
int
smp_commenced
;
...
...
arch/ppc/platforms/chrp_setup.c
View file @
0c4a2e9c
...
...
@@ -607,7 +607,7 @@ chrp_init(unsigned long r3, unsigned long r4, unsigned long r5,
* Print the banner, then scroll down so boot progress
* can be printed. -- Cort
*/
if
(
ppc_md
.
progress
)
ppc_md
.
progress
(
"Linux/PPC "
UTS_RELEASE
"
\n
"
,
0x0
);
if
(
ppc_md
.
progress
)
ppc_md
.
progress
(
"Linux/PPC "
UTS_RELEASE
"
\n
"
,
0x0
);
}
void
__chrp
...
...
arch/ppc/platforms/pmac_smp.c
View file @
0c4a2e9c
...
...
@@ -30,6 +30,7 @@
#include <linux/unistd.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/errno.h>
#include <asm/ptrace.h>
#include <asm/atomic.h>
...
...
@@ -47,6 +48,7 @@
#include <asm/pmac_feature.h>
#include <asm/time.h>
#include <asm/open_pic.h>
#include <asm/cacheflush.h>
/*
* Powersurge (old powermac SMP) support.
...
...
include/asm-ppc/unistd.h
View file @
0c4a2e9c
/*
* BK Id:
SCCS/s.unistd.h 1.11 10/18/01 17:29:53 trini
* BK Id:
%F% %I% %G% %U% %#%
*/
#ifndef _ASM_PPC_UNISTD_H_
#define _ASM_PPC_UNISTD_H_
...
...
@@ -229,6 +229,8 @@
#define __NR_lremovexattr 219
#define __NR_fremovexattr 220
#define __NR_futex 221
#define __NR_sched_setaffinity 222
#define __NR_sched_getaffinity 223
#define __NR(n) #n
...
...
@@ -432,7 +434,7 @@ static inline _syscall1(int,delete_module,const char *,name)
static
inline
pid_t
wait
(
int
*
wait_stat
)
{
return
waitpid
(
-
1
,
wait_stat
,
0
);
return
waitpid
(
-
1
,
wait_stat
,
0
);
}
#endif
/* __KERNEL_SYSCALLS__ */
...
...
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