summaryrefslogtreecommitdiffstats
path: root/mm/bootmem.c
diff options
context:
space:
mode:
authorLin Feng <linfeng@cn.fujitsu.com>2012-12-12 13:52:39 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-12 17:38:35 -0800
commit98870901cce098bbe94d90d2c41d8d1fa8d94392 (patch)
tree958332e0e55eb80cded9f2e9d889ab1e391fd786 /mm/bootmem.c
parent66521d5aa6c0f74b5e90c21569acbaa8c5ac0998 (diff)
downloadop-kernel-dev-98870901cce098bbe94d90d2c41d8d1fa8d94392.zip
op-kernel-dev-98870901cce098bbe94d90d2c41d8d1fa8d94392.tar.gz
mm/bootmem.c: remove unused wrapper function reserve_bootmem_generic()
reserve_bootmem_generic() has no caller, Signed-off-by: Lin Feng <linfeng@cn.fujitsu.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/bootmem.c')
-rw-r--r--mm/bootmem.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/bootmem.c b/mm/bootmem.c
index 19262ac..1324cd7 100644
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -460,12 +460,6 @@ int __init reserve_bootmem(unsigned long addr, unsigned long size,
return mark_bootmem(start, end, 1, flags);
}
-int __weak __init reserve_bootmem_generic(unsigned long phys, unsigned long len,
- int flags)
-{
- return reserve_bootmem(phys, len, flags);
-}
-
static unsigned long __init align_idx(struct bootmem_data *bdata,
unsigned long idx, unsigned long step)
{
OpenPOWER on IntegriCloud