Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111122
b: refs/heads/master
c: b6263ff
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Oct 11, 2008
1 parent 31aebee commit e987f79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b27311e1cace4e296ace786c886d22f7a8ec78d6
refs/heads/master: b6263ff2d6e58cc2fe615219ab2a06778b5e6cef
6 changes: 6 additions & 0 deletions trunk/arch/mips/txx9/generic/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <asm/time.h>
#include <asm/reboot.h>
#include <asm/r4kcache.h>
#include <asm/sections.h>
#include <asm/txx9/generic.h>
#include <asm/txx9/pci.h>
#include <asm/txx9tmr.h>
Expand Down Expand Up @@ -394,6 +395,11 @@ void __init prom_init(void)

void __init prom_free_prom_memory(void)
{
unsigned long saddr = PAGE_SIZE;
unsigned long eaddr = __pa_symbol(&_text);

if (saddr < eaddr)
free_init_pages("prom memory", saddr, eaddr);
}

const char *get_system_type(void)
Expand Down

0 comments on commit e987f79

Please sign in to comment.