]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - mm/memory.c
thp: do_huge_pmd_wp_page(): handle huge zero page
[can-eth-gw-linux.git] / mm / memory.c
index 765377385632086e872058cb46fe7958dadd472f..259b34fe1347632bf3ada80fd589730fca5e132f 100644 (file)
@@ -724,13 +724,6 @@ static inline int is_zero_pfn(unsigned long pfn)
 }
 #endif
 
-#ifndef my_zero_pfn
-static inline unsigned long my_zero_pfn(unsigned long addr)
-{
-       return zero_pfn;
-}
-#endif
-
 /*
  * vm_normal_page -- This function gets the "struct page" associated with a pte.
  *