projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fdc14c
)
arm64: mm: remove unnecessary BUG_ON
author
Kefeng Wang
<wangkefeng.wang@huawei.com>
Thu, 30 Jun 2016 02:02:04 +0000
(10:02 +0800)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Thu, 30 Jun 2016 16:55:04 +0000
(17:55 +0100)
The memblock_alloc() and memblock_alloc_base() will panic on their own
if no free memory, remove pointless BUG_ON.
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/mmu.c
patch
|
blob
|
history
diff --git
a/arch/arm64/mm/mmu.c
b/arch/arm64/mm/mmu.c
index
c356f7b
..
0c95d6e
100644
(file)
--- a/
arch/arm64/mm/mmu.c
+++ b/
arch/arm64/mm/mmu.c
@@
-77,7
+77,6
@@
static phys_addr_t __init early_pgtable_alloc(void)
void *ptr;
phys = memblock_alloc(PAGE_SIZE, PAGE_SIZE);
- BUG_ON(!phys);
/*
* The FIX_{PGD,PUD,PMD} slots may be in active use, but the FIX_PTE