Subject: [powerpc:next 5/29] arch/powerpc/platforms/pasemi/iommu.c:195:2: error: implicit declaration of function 'memblock_alloc'

From: Fengguang Wu <[email-masked]>
Date: Thu, 6 Sep 2012 10:20:28 +0800

Hi Michael,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next
head:   8b64a9dfb091f1eca8b7e58da82f1e7d1d5fe0ad
commit: 7db90c0222efeae676baa2c72758fcc00666e84f [5/29] powerpc/pasemi: Remove uses of virt_to_abs() and abs_to_virt()
config: powerpc-allmodconfig (attached as .config)

All related error/warning messages:

arch/powerpc/platforms/pasemi/iommu.c: In function 'iob_init':
arch/powerpc/platforms/pasemi/iommu.c:195:2: error: implicit declaration of function 'memblock_alloc' [-Werror=implicit-function-declaration]
arch/powerpc/platforms/pasemi/iommu.c: In function 'alloc_iobmap_l2':
arch/powerpc/platforms/pasemi/iommu.c:260:2: error: implicit declaration of function 'memblock_alloc_base' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <[email-masked]>                     Intel Corporation