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
6475df78
Commit
6475df78
authored
Mar 16, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: updates for 2.5.7-pre1 - futexes,
parent
99f35d56
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
21 deletions
+48
-21
arch/ppc64/kernel/htab.c
arch/ppc64/kernel/htab.c
+2
-3
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+28
-2
include/asm-ppc64/mman.h
include/asm-ppc64/mman.h
+1
-0
include/asm-ppc64/pgalloc.h
include/asm-ppc64/pgalloc.h
+2
-3
include/asm-ppc64/unistd.h
include/asm-ppc64/unistd.h
+15
-13
No files found.
arch/ppc64/kernel/htab.c
View file @
6475df78
...
...
@@ -780,7 +780,7 @@ void hpte_init_pSeries(void)
*/
int
hash_page
(
unsigned
long
ea
,
unsigned
long
access
)
{
void
*
pgdir
=
NULL
;
void
*
pgdir
;
unsigned
long
va
,
vsid
,
vpn
;
unsigned
long
newpp
,
hash_ind
,
prpn
;
unsigned
long
hpteflags
;
...
...
@@ -871,8 +871,6 @@ int hash_page(unsigned long ea, unsigned long access)
*/
spin_lock
(
&
hash_table_lock
);
old_pte
=
*
ptep
;
/*
* At this point we have found a pte (which was present).
* The spinlocks prevent this status from changing
...
...
@@ -894,6 +892,7 @@ int hash_page(unsigned long ea, unsigned long access)
* page is currently not DIRTY.
*/
old_pte
=
*
ptep
;
new_pte
=
old_pte
;
/* If the attempted access was a store */
if
(
access
&
_PAGE_RW
)
...
...
arch/ppc64/kernel/misc.S
View file @
6475df78
...
...
@@ -728,7 +728,20 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys_mincore
/*
206
*/
.
llong
.
sys_gettid
/*
207
*/
.
llong
.
sys_tkill
/*
208
*/
.
rept
NR_syscalls
-
208
.
llong
.
sys_setxattr
.
llong
.
sys_lsetxattr
/*
210
*/
.
llong
.
sys_fsetxattr
.
llong
.
sys_getxattr
.
llong
.
sys_lgetxattr
.
llong
.
sys_fgetxattr
.
llong
.
sys_listxattr
/*
215
*/
.
llong
.
sys_llistxattr
.
llong
.
sys_flistxattr
.
llong
.
sys_removexattr
.
llong
.
sys_lremovexattr
.
llong
.
sys_fremovexattr
/*
220
*/
.
llong
.
sys_futex
.
rept
NR_syscalls
-
221
.
llong
.
sys_ni_syscall
.
endr
#endif
...
...
@@ -944,6 +957,19 @@ _GLOBAL(sys_call_table)
.
llong
.
sys_mincore
/*
206
*/
.
llong
.
sys_gettid
/*
207
*/
.
llong
.
sys_tkill
/*
208
*/
.
rept
NR_syscalls
-
208
.
llong
.
sys_setxattr
.
llong
.
sys_lsetxattr
/*
210
*/
.
llong
.
sys_fsetxattr
.
llong
.
sys_getxattr
.
llong
.
sys_lgetxattr
.
llong
.
sys_fgetxattr
.
llong
.
sys_listxattr
/*
215
*/
.
llong
.
sys_llistxattr
.
llong
.
sys_flistxattr
.
llong
.
sys_removexattr
.
llong
.
sys_lremovexattr
.
llong
.
sys_fremovexattr
/*
220
*/
.
llong
.
sys_futex
.
rept
NR_syscalls
-
221
.
llong
.
sys_ni_syscall
.
endr
include/asm-ppc64/mman.h
View file @
6475df78
...
...
@@ -11,6 +11,7 @@
#define PROT_READ 0x1
/* page can be read */
#define PROT_WRITE 0x2
/* page can be written */
#define PROT_EXEC 0x4
/* page can be executed */
#define PROT_SEM 0x8
/* page may be used for atomic ops */
#define PROT_NONE 0x0
/* page can not be accessed */
#define MAP_SHARED 0x01
/* Share changes */
...
...
include/asm-ppc64/pgalloc.h
View file @
6475df78
...
...
@@ -87,7 +87,6 @@ pte_free(pte_t *pte)
#define pte_free_kernel(pte) pte_free(pte)
#endif
/* _PPC64_PGALLOC_H */
#define check_pgt_cache() do { } while (0)
#endif
/* _PPC64_PGALLOC_H */
include/asm-ppc64/unistd.h
View file @
6475df78
...
...
@@ -217,22 +217,24 @@
#define __NR_mincore 206
#define __NR_gettid 207
#define __NR_tkill 208
#define __NR_setxattr 209
#define __NR_lsetxattr 210
#define __NR_fsetxattr 211
#define __NR_getxattr 212
#define __NR_lgetxattr 213
#define __NR_fgetxattr 214
#define __NR_listxattr 215
#define __NR_llistxattr 216
#define __NR_flistxattr 217
#define __NR_removexattr 218
#define __NR_lremovexattr 219
#define __NR_fremovexattr 220
#define __NR_futex 221
#if 0 /* Remind paulus to add these into ppc32 */
#if 0
/* Remind paulus to add these into ppc32 */
__NR_security
__NR_readahead
__NR_setxattr
__NR_lsetxattr
__NR_fsetxattr
__NR_getxattr
__NR_lgetxattr
__NR_fgetxattr
__NR_listxattr
__NR_llistxattr
__NR_flistxattr
__NR_removexattr
__NR_lremovexattr
__NR_fremovexattr
#endif
#define __NR(n) #n
...
...
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