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
e386e6e0
Commit
e386e6e0
authored
Nov 05, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: updates for 2.5.45
parent
313dbdac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
include/asm-ppc64/mman.h
include/asm-ppc64/mman.h
+3
-0
include/asm-ppc64/processor.h
include/asm-ppc64/processor.h
+2
-2
No files found.
include/asm-ppc64/mman.h
View file @
e386e6e0
...
...
@@ -34,6 +34,9 @@
#define MCL_CURRENT 0x2000
/* lock all currently mapped pages */
#define MCL_FUTURE 0x4000
/* lock all additions to address space */
#define MAP_POPULATE 0x8000
/* populate (prefault) pagetables */
#define MAP_NONBLOCK 0x10000
/* do not block on IO */
#define MADV_NORMAL 0x0
/* default page-in behavior */
#define MADV_RANDOM 0x1
/* page-in minimum required */
#define MADV_SEQUENTIAL 0x2
/* read-ahead aggressively */
...
...
include/asm-ppc64/processor.h
View file @
e386e6e0
...
...
@@ -636,8 +636,8 @@ extern struct task_struct *last_task_used_math;
/* This decides where the kernel will search for a free chunk of vm
* space during mmap's.
*/
#define TASK_UNMAPPED_BASE_USER32 (
STACK_TOP_USER32 / 4
)
#define TASK_UNMAPPED_BASE_USER64 (
STACK_TOP_USER64 / 4
)
#define TASK_UNMAPPED_BASE_USER32 (
PAGE_ALIGN(STACK_TOP_USER32 / 4)
)
#define TASK_UNMAPPED_BASE_USER64 (
PAGE_ALIGN(STACK_TOP_USER64 / 4)
)
#define TASK_UNMAPPED_BASE ((test_thread_flag(TIF_32BIT)||(ppcdebugset(PPCDBG_BINFMT_32ADDR))) ? \
TASK_UNMAPPED_BASE_USER32 : TASK_UNMAPPED_BASE_USER64 )
...
...
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