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
0c38a3e2
Commit
0c38a3e2
authored
Nov 23, 2007
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import 2.3.30pre5
parent
583f5775
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
arch/alpha/mm/init.c
arch/alpha/mm/init.c
+3
-2
include/asm-alpha/pgtable.h
include/asm-alpha/pgtable.h
+1
-1
No files found.
arch/alpha/mm/init.c
View file @
0c38a3e2
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include <linux/mman.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/swap.h>
#include <linux/init.h>
#include <linux/bootmem.h>
/* max_low_pfn */
#include <linux/bootmem.h>
/* max_low_pfn */
#ifdef CONFIG_BLK_DEV_INITRD
#ifdef CONFIG_BLK_DEV_INITRD
#include <linux/blk.h>
#include <linux/blk.h>
...
@@ -273,7 +274,7 @@ srm_paging_stop (void)
...
@@ -273,7 +274,7 @@ srm_paging_stop (void)
}
}
#endif
#endif
static
void
printk_memory_info
(
void
)
static
void
__init
printk_memory_info
(
void
)
{
{
unsigned
long
codesize
,
reservedpages
,
datasize
,
initsize
,
tmp
;
unsigned
long
codesize
,
reservedpages
,
datasize
,
initsize
,
tmp
;
extern
int
page_is_ram
(
unsigned
long
)
__init
;
extern
int
page_is_ram
(
unsigned
long
)
__init
;
...
@@ -302,7 +303,7 @@ static void printk_memory_info(void)
...
@@ -302,7 +303,7 @@ static void printk_memory_info(void)
initsize
>>
10
);
initsize
>>
10
);
}
}
void
void
__init
mem_init
(
void
)
mem_init
(
void
)
{
{
max_mapnr
=
num_physpages
=
max_low_pfn
;
max_mapnr
=
num_physpages
=
max_low_pfn
;
...
...
include/asm-alpha/pgtable.h
View file @
0c38a3e2
...
@@ -297,7 +297,7 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset)
...
@@ -297,7 +297,7 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset)
#define kern_addr_valid(addr) (1)
#define kern_addr_valid(addr) (1)
#define io_remap_page_range(start, busaddr, size, prot) \
#define io_remap_page_range(start, busaddr, size, prot) \
remap_page_range(start, virt_to_phys(__ioremap(busaddr)
, 0
), size, prot)
remap_page_range(start, virt_to_phys(__ioremap(busaddr)), size, prot)
#define pte_ERROR(e) \
#define pte_ERROR(e) \
printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e))
printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e))
...
...
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