Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm-make-pte_marker_swapin_error-more-general-fix

fix CONFIG_MMU=n build

Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

+2
+2
include/linux/mm_inline.h
··· 523 523 return atomic_read(&mm->tlb_flush_pending) > 1; 524 524 } 525 525 526 + #ifdef CONFIG_MMU 526 527 /* 527 528 * Computes the pte marker to copy from the given source entry into dst_vma. 528 529 * If no marker should be copied, returns 0. ··· 542 541 543 542 return dstm; 544 543 } 544 + #endif 545 545 546 546 /* 547 547 * If this pte is wr-protected by uffd-wp in any form, arm the special pte to