]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - mm/memory.c
asm-generic, mm: pgtable: consolidate zero page helpers
[can-eth-gw-linux.git] / mm / memory.c
index f9a4b0cb862363792a127483a80d213017732610..3f680e7c7645ed180650af9386951e1e7618942f 100644 (file)
@@ -717,13 +717,6 @@ static inline bool is_cow_mapping(vm_flags_t flags)
        return (flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE;
 }
 
-#ifndef is_zero_pfn
-static inline int is_zero_pfn(unsigned long pfn)
-{
-       return pfn == zero_pfn;
-}
-#endif
-
 /*
  * vm_normal_page -- This function gets the "struct page" associated with a pte.
  *