[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110714074455.GC3455@htj.dyndns.org>
Date: Thu, 14 Jul 2011 09:44:55 +0200
From: Tejun Heo <tj@...nel.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: mingo@...hat.com, tglx@...utronix.de, benh@...nel.crashing.org,
yinghai@...nel.org, davem@...emloft.net,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
x86@...nel.org
Subject: Re: [PATCH 1/8] bootmem: Replace work_with_active_regions() with
for_each_mem_pfn_range()
On Wed, Jul 13, 2011 at 07:11:36PM -0700, H. Peter Anvin wrote:
> On 07/12/2011 01:46 AM, Tejun Heo wrote:
> > Callback based iteration is cumbersome and much less useful than
> > for_each_*() iterator. This patch implements for_each_mem_pfn_range()
> > which replaces work_with_active_regions(). All the current users of
> > work_with_active_regions() are converted.
> >
> > This simplifies walking over early_node_map and will allow converting
> > internal logics in page_alloc to use iterator instead of walking
> > early_node_map directly, which in turn will enable moving node
> > information to memblock.
> >
> > powerpc change is only compile tested.
> >
> > Signed-off-by: Tejun Heo <tj@...nel.org>
> > Cc: Yinghai Lu <yinghai@...nel.org>
> > Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>
>
> This patch causes a build failure on x86-64 with the attached .config:
>
> /home/hpa/kernel/linux-2.6-tip.memblock/drivers/pci/intel-iommu.c: In
> function ‘si_domain_init’:
> /home/hpa/kernel/linux-2.6-tip.memblock/drivers/pci/intel-iommu.c:2216:4: error:
> implicit declaration of function ‘iommuc_domain_identity_map’
> [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
It was a typo that I fixed before sending the patches but obviously I
sent the old one. The git tree had the updated one. I'll re-post the
updated one.
Thank you.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists