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
a9a23cb3
Commit
a9a23cb3
authored
Sep 06, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Fix for highmem on PPC 440
parent
0abdc31d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
include/asm-ppc/highmem.h
include/asm-ppc/highmem.h
+3
-2
No files found.
include/asm-ppc/highmem.h
View file @
a9a23cb3
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
#include <linux/interrupt.h>
#include <linux/interrupt.h>
#include <asm/kmap_types.h>
#include <asm/kmap_types.h>
#include <asm/tlbflush.h>
#include <asm/tlbflush.h>
#include <asm/page.h>
/* undef for production */
/* undef for production */
#define HIGHMEM_DEBUG 1
#define HIGHMEM_DEBUG 1
...
@@ -41,8 +42,8 @@ extern void kmap_init(void) __init;
...
@@ -41,8 +42,8 @@ extern void kmap_init(void) __init;
* easily, subsequent pte tables have to be allocated in one physical
* easily, subsequent pte tables have to be allocated in one physical
* chunk of RAM.
* chunk of RAM.
*/
*/
#define PKMAP_BASE CONFIG_HIGHMEM_START
#define PKMAP_BASE
CONFIG_HIGHMEM_START
#define LAST_PKMAP
1024
#define LAST_PKMAP
(1 << PTE_SHIFT)
#define LAST_PKMAP_MASK (LAST_PKMAP-1)
#define LAST_PKMAP_MASK (LAST_PKMAP-1)
#define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
#define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
#define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
#define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))
...
...
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