git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git]
/
arch
/
x86
/
platform
/
olpc
/
olpc_dt.c
diff --git
a/arch/x86/platform/olpc/olpc_dt.c
b/arch/x86/platform/olpc/olpc_dt.c
index
4ce208f
..
d39f63d
100644
(file)
--- a/
arch/x86/platform/olpc/olpc_dt.c
+++ b/
arch/x86/platform/olpc/olpc_dt.c
@@
-142,8
+142,7
@@
void * __init prom_early_alloc(unsigned long size)
* wasted bootmem) and hand off chunks of it to callers.
*/
res = alloc_bootmem(chunk_size);
- if (!res)
- return NULL;
+ BUG_ON(!res);
prom_early_allocated += chunk_size;
memset(res, 0, chunk_size);
free_mem = chunk_size;