From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1164339AbdEXWFO (ORCPT ); Wed, 24 May 2017 18:05:14 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:35282 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033616AbdEXWFN (ORCPT ); Wed, 24 May 2017 18:05:13 -0400 Date: Wed, 24 May 2017 23:05:10 +0100 From: Al Viro To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, Stephen Bates , Jeff Dike , Richard Weinberger Subject: Re: [PATCH] um: add dummy ioremap and iounmap functions Message-ID: <20170524220510.GF390@ZenIV.linux.org.uk> References: <1495663252-22434-1-git-send-email-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1495663252-22434-1-git-send-email-logang@deltatee.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 24, 2017 at 04:00:52PM -0600, Logan Gunthorpe wrote: > The user mode architecture does not provide ioremap or iounmap, and > because of this, the arch won't build when the functions are used in some > core libraries. > > I have designs to use these functions in scatterlist.c where they'd > almost certainly never be called on the um architecture but it does need > to compile. Then make it fail there. Incidentally, s390 has ioremap() only when CONFIG_PCI is set.