Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751889Ab3FZHiv (ORCPT ); Wed, 26 Jun 2013 03:38:51 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:39270 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751646Ab3FZHit (ORCPT ); Wed, 26 Jun 2013 03:38:49 -0400 MIME-Version: 1.0 In-Reply-To: <51CA900E.9020407@nod.at> References: <51CA8AB8.7080504@asianux.com> <51CA900E.9020407@nod.at> Date: Wed, 26 Jun 2013 09:38:48 +0200 X-Google-Sender-Auth: Nghu3NBGuTFG3ofPy-8hMSDC_Ds Message-ID: Subject: Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU' From: Geert Uytterhoeven To: Richard Weinberger Cc: Chen Gang , Jeff Dike , Arnd Bergmann , David Sharp , Mark Brown , "sfr@canb.auug.org.au" , Steven Rostedt , Ingo Molnar , uml-devel , uml-user , "linux-kernel@vger.kernel.org" , Linux-Arch Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1081 Lines: 27 On Wed, Jun 26, 2013 at 8:54 AM, Richard Weinberger wrote: >> -#ifndef CONFIG_MMU >> +#if !CONFIG_MMU || CONFIG_UML FWIW, the above syntax is not correct, it should be #if !defined(CONFIG_MMU) || defined(CONFIG_UML) > UML has no io memory but a MMU, so I'd argue that you better fix drivers/ptp/ptp_pch.c dependencies. > _If_ ptp_pch.c really works without real io memory, you can look what I did in my GENERIC_IO series[1] > to make nandsim work on UML. Maybe this helps. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/