From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753577AbbCEXo1 (ORCPT ); Thu, 5 Mar 2015 18:44:27 -0500 Received: from g9t5009.houston.hp.com ([15.240.92.67]:37701 "EHLO g9t5009.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400AbbCEXoZ (ORCPT ); Thu, 5 Mar 2015 18:44:25 -0500 Message-ID: <1425599023.17007.293.camel@misato.fc.hp.com> Subject: Re: [PATCH] Fix undefined ioremap_huge_init when CONFIG_MMU is not set From: Toshi Kani To: Stephen Rothwell Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, kbuild-all@01.org, fengguang.wu@intel.com, hannes@cmpxchg.org Date: Thu, 05 Mar 2015 16:43:43 -0700 In-Reply-To: <20150306104113.555c8888@canb.auug.org.au> References: <1425570246-812-1-git-send-email-toshi.kani@hp.com> <20150306104113.555c8888@canb.auug.org.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2015-03-06 at 10:41 +1100, Stephen Rothwell wrote: > Hi Toshi, > > On Thu, 5 Mar 2015 08:44:06 -0700 Toshi Kani wrote: > > > > Fix a build error, undefined reference to ioremap_huge_init, when > > CONFIG_MMU is not defined on linux-next and -mm tree. > > > > lib/ioremap.o is not linked to the kernel when CONFIG_MMU is not > > defined. > > > > Signed-off-by: Toshi Kani > > --- > > include/linux/io.h | 5 +++-- > > lib/ioremap.c | 1 - > > 2 files changed, 3 insertions(+), 3 deletions(-) > > Added to my copy of the akpm-current tree today (and so into linux-next). Thanks Stephen! -Toshi