projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0e7ba0
)
[MIPS] Don't use max_pfn which is no longer initialized these days.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 17 Apr 2008 12:42:50 +0000
(13:42 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 12 May 2008 15:46:51 +0000
(16:46 +0100)
Still won't play nicely with esotheric configurations such as discontig
memory ...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/vpe.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/vpe.c
b/arch/mips/kernel/vpe.c
index f73a89850a25f49c8ec0a7c4fc0ede9b37b85726..fa67e4006960dc7d26e3f8d9fb9bc02ff288e665 100644
(file)
--- a/
arch/mips/kernel/vpe.c
+++ b/
arch/mips/kernel/vpe.c
@@
-269,7
+269,7
@@
static void *alloc_progmem(unsigned long len)
* This means you must tell Linux to use less memory than you
* physically have, for example by passing a mem= boot argument.
*/
- addr = pfn_to_kaddr(max_pfn);
+ addr = pfn_to_kaddr(max_
low_
pfn);
memset(addr, 0, len);
#else
/* simple grab some mem for now */