commit | 16854b567dff767e5ec5e6dc23021271136733a5 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Mon Oct 26 18:39:06 2020 +0100 |
committer | Borislav Petkov <bp@suse.de> | Wed Apr 14 08:21:41 2021 +0200 |
tree | 41a8fc54d9be75358325ffc17ef276d30f20c48b | |
parent | f7b21a0e41171d22296b897dac6e4c41d2a3643c [diff] |
x86/pat: Do not compile stubbed functions when X86_PAT is off Those are already provided by linux/io.h as stubs. The conflict remains invisible until someone would pull linux/io.h into memtype.c. This fixes a build error when this file is used outside of the kernel tree. [ bp: Massage commit message. ] Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/a9351615-7a0d-9d47-af65-d9e2fffe8192@siemens.com