Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp692627ybv; Fri, 7 Feb 2020 06:52:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzxz0PnKESYRkz9DzPXCZNG5RIXINzpBhcvsHTu+vc/tVpwyscaFKxFNx37i3X2FuoiUGjU X-Received: by 2002:aca:6543:: with SMTP id j3mr2303200oiw.150.1581087140250; Fri, 07 Feb 2020 06:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581087140; cv=none; d=google.com; s=arc-20160816; b=0hNIYtqoqhsZlnH7o4wwvXbbklsj7nPFBzVEz1kEmkDdkTNd8sGGcbIHGgQ5gDZuiZ V5XNOHd2yczy10F7zFudhXy1ekFLEeJLGe42RSFdSohUwvNQwugQf10TxnTTMbm+8QHw WpAZzZRJy1YgPrMKEu26WCp+d+c3x9etbvkvBaQ34lZ/O5tzddzQZs+2Yu0LINXtuwiu 0GBE2FjcSZrk2JqlCaSTfe4HUGOv4uGbYtuo28UxP0YBIb/O0pN7j7Fmd86BQfYQYW/8 6QcwM1ha4IOuc13JkX7gzQIyRHVPdyTJsgZ045D2ho0mA8hclA240G34ixau4q/gy/8R Ih2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=Ks9nGMi2gF53+0cIRhntLWrvoz3jCsNsqVoAgdGZSmM=; b=09nrbRUkMKoSKE0lgQC+HaG85n81henIl4Eh9AcJuhHNYzLVFEVmaURDaR3rori9fn W7VMVPir461OYdMuLXb+SeCqIP6sMAU7gGRYv/Ow/ANRHwm5RCUZn+9KccaMpPSpXmJy Nd8kTqRzvl+8EvK66TTX/3tiGIz2hPziz/AJ1zKt4ikKDGtX60nlOegXqSYIDwzxbVGx DWXIO/48P7YRHJJEwg8nx7FK9uZWQasLnFEXgsyChsZe146q6MK7Jsdz9PharCMUDOpM mFGOJpl8w+ushLikbr2Y1MWBvMImkXx3IWPpwoYxmzLJbzXOzRkfDIOqF4tla2T55OQn kwQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si1509560ota.266.2020.02.07.06.52.07; Fri, 07 Feb 2020 06:52:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727117AbgBGOu5 (ORCPT + 99 others); Fri, 7 Feb 2020 09:50:57 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:41043 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726901AbgBGOu5 (ORCPT ); Fri, 7 Feb 2020 09:50:57 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1j04xz-0005Xn-JC; Fri, 07 Feb 2020 15:50:47 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id E6A85100F58; Fri, 7 Feb 2020 14:50:46 +0000 (GMT) From: Thomas Gleixner To: Jan Kiszka , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" Cc: x86 , Linux Kernel Mailing List Subject: Re: [PATCH] x86: pat: Do not compile stubbed functions when X86_PAT is off In-Reply-To: <198c94a8-12ea-88e7-6f08-b3456473e5c3@siemens.com> References: <198c94a8-12ea-88e7-6f08-b3456473e5c3@siemens.com> Date: Fri, 07 Feb 2020 14:50:46 +0000 Message-ID: <87r1z6xxh5.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jan Kiszka writes: > From: Jan Kiszka > > Those are already provided by linux/io.h as stubs. > > The conflict remains invisible until someone would pull {linux,asm}/io.h > into memtype.c. Err. memtype.c includes asm/io.h already. So it's just the PAT=n case which is broken. Thanks, tglx