linux/arch/x86/mm
Vlastimil Babka 792adb90fa x86/init: fix build with CONFIG_SWAP=n
The introduction of generic_max_swapfile_size and arch-specific versions has
broken linking on x86 with CONFIG_SWAP=n due to undefined reference to
'generic_max_swapfile_size'. Fix it by compiling the x86-specific
max_swapfile_size() only with CONFIG_SWAP=y.

Reported-by: Tomas Pruzina <pruzinat@gmail.com>
Fixes: 377eeaa8e1 ("x86/speculation/l1tf: Limit swap file size to MAX_PA/2")
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-14 11:59:01 -07:00
..
amdtopology.c
cpu_entry_area.c
debug_pagetables.c
dump_pagetables.c x86/mm/pti: Move user W+X check into pti_finalize() 2018-08-10 21:12:45 +02:00
extable.c
fault.c x86/mm: Remove in_nmi() warning from vmalloc_fault() 2018-07-30 13:53:48 +02:00
highmem_32.c
hugetlbpage.c
ident_map.c
init.c x86/init: fix build with CONFIG_SWAP=n 2018-08-14 11:59:01 -07:00
init_32.c
init_64.c Merge branch 'x86/pti-urgent' into x86/pti 2018-08-06 20:56:34 +02:00
iomap_32.c
ioremap.c
kasan_init_64.c
kaslr.c
kmmio.c x86/mm/kmmio: Make the tracer robust against L1TF 2018-08-08 22:28:34 +02:00
Makefile
mem_encrypt.c
mem_encrypt_boot.S
mem_encrypt_identity.c
mm_internal.h
mmap.c
mmio-mod.c
mpx.c
numa.c
numa_32.c
numa_64.c
numa_emulation.c x86/numa_emulation: Introduce uniform split capability 2018-07-06 18:48:58 +02:00
numa_internal.h
pageattr-test.c
pageattr.c Merge branch 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-08-14 09:46:06 -07:00
pat.c
pat_internal.h
pat_rbtree.c
pf_in.c
pf_in.h
pgtable.c Merge branch 'x86/pti' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-08-13 17:54:17 -07:00
pgtable_32.c
physaddr.c
physaddr.h
pkeys.c
pti.c Merge branch 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-08-14 09:46:06 -07:00
setup_nx.c
srat.c
testmmiotrace.c
tlb.c x86/mm/tlb: Make clear_asid_other() static 2018-07-24 09:52:32 +02:00