Subject: [powerpc:next 11/29] arch/powerpc/platforms/pseries/iommu.c:1064:2: error: implicit declaration of function 'memblock_end_of_DRAM'

From: Fengguang Wu <[email-masked]>
Date: Thu, 6 Sep 2012 10:20:03 +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: 474e3d569b63f7275cfec072d7ef7b2ffb8904c8 [11/29] powerpc/pseries: Remove uses of abs_to_virt() and virt_to_abs()
config: powerpc-allmodconfig (attached as .config)

All related error/warning messages:

arch/powerpc/platforms/pseries/iommu.c: In function 'enable_ddw':
arch/powerpc/platforms/pseries/iommu.c:1064:2: error: implicit declaration of function 'memblock_end_of_DRAM' [-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