[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a2788ff7-c524-52de-3f45-82613410f872@siemens.com>
Date: Fri, 7 Feb 2020 16:02:08 +0100
From: Jan Kiszka <jan.kiszka@...mens.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>
Cc: x86 <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: pat: Do not compile stubbed functions when X86_PAT
is off
On 07.02.20 15:50, Thomas Gleixner wrote:
> Jan Kiszka <jan.kiszka@...mens.com> writes:
>
>> From: Jan Kiszka <jan.kiszka@...mens.com>
>>
>> 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.
Ah, right, my comment must read "until someone would pull linux/io.h"
because only that header carries the stubs.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
Powered by blists - more mailing lists