diff options
author | Jan Kiszka | 2020-10-26 18:39:06 +0100 |
---|---|---|
committer | Borislav Petkov | 2021-04-14 08:21:41 +0200 |
commit | 16854b567dff767e5ec5e6dc23021271136733a5 (patch) | |
tree | 41a8fc54d9be75358325ffc17ef276d30f20c48b /include | |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions