git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
xtensa
/
mm
/
init.c
diff --git
a/arch/xtensa/mm/init.c
b/arch/xtensa/mm/init.c
index
5a91d6c
..
e1ec2d1
100644
(file)
--- a/
arch/xtensa/mm/init.c
+++ b/
arch/xtensa/mm/init.c
@@
-15,7
+15,6
@@
* Kevin Chea
*/
* Kevin Chea
*/
-#include <linux/config.h>
#include <linux/init.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/signal.h>
#include <linux/sched.h>
@@
-142,8
+141,8
@@
void __init bootmem_init(void)
if (min_low_pfn > max_pfn)
panic("No memory found!\n");
if (min_low_pfn > max_pfn)
panic("No memory found!\n");
- max_low_pfn = max_pfn < MAX_
LOW_MEMORY
>> PAGE_SHIFT ?
- max_pfn : MAX_
LOW_MEMORY
>> PAGE_SHIFT;
+ max_low_pfn = max_pfn < MAX_
MEM_PFN
>> PAGE_SHIFT ?
+ max_pfn : MAX_
MEM_PFN
>> PAGE_SHIFT;
/* Find an area to use for the bootmem bitmap. */
/* Find an area to use for the bootmem bitmap. */
@@
-216,7
+215,7
@@
void __init init_mmu (void)
/* Set rasid register to a known value. */
/* Set rasid register to a known value. */
- set_rasid_register (ASID_
ALL_RESERVED
);
+ set_rasid_register (ASID_
USER_FIRST
);
/* Set PTEVADDR special register to the start of the page
* table, which is in kernel mappable space (ie. not
/* Set PTEVADDR special register to the start of the page
* table, which is in kernel mappable space (ie. not
@@
-272,7
+271,7
@@
free_reserved_mem(void *start, void *end)
{
for (; start < end; start += PAGE_SIZE) {
ClearPageReserved(virt_to_page(start));
{
for (; start < end; start += PAGE_SIZE) {
ClearPageReserved(virt_to_page(start));
-
set_page_count(virt_to_page(start), 1
);
+
init_page_count(virt_to_page(start)
);
free_page((unsigned long)start);
totalram_pages++;
}
free_page((unsigned long)start);
totalram_pages++;
}