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
101ddd26
Commit
101ddd26
authored
Nov 08, 2002
by
Tom Rini
Committed by
Paul Mackerras
Nov 08, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Remove more #ifdefs now that the config defines suitable
defaults for the advanced kernel config options.
parent
f1577540
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
include/asm-ppc/highmem.h
include/asm-ppc/highmem.h
+0
-4
include/asm-ppc/page.h
include/asm-ppc/page.h
+1
-5
No files found.
include/asm-ppc/highmem.h
View file @
101ddd26
...
...
@@ -41,11 +41,7 @@ extern void kmap_init(void) __init;
* easily, subsequent pte tables have to be allocated in one physical
* chunk of RAM.
*/
#ifdef CONFIG_HIGHMEM_START_BOOL
#define PKMAP_BASE CONFIG_HIGHMEM_START
#else
#define PKMAP_BASE (0xfe000000UL)
#endif
/* CONFIG_HIGHMEM_START_BOOL */
#define LAST_PKMAP 1024
#define LAST_PKMAP_MASK (LAST_PKMAP-1)
#define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
...
...
include/asm-ppc/page.h
View file @
101ddd26
...
...
@@ -9,12 +9,8 @@
#ifdef __KERNEL__
#include <linux/config.h>
/* Be sure to change arch/ppc/Makefile to match */
#ifdef CONFIG_KERNEL_START_BOOL
/* This must match what is in arch/ppc/Makefile */
#define PAGE_OFFSET CONFIG_KERNEL_START
#else
#define PAGE_OFFSET 0xc0000000
#endif
/* CONFIG_KERNEL_START_BOOL */
#define KERNELBASE PAGE_OFFSET
#ifndef __ASSEMBLY__
...
...
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