]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - include/linux/mm.h
asm-generic, mm: pgtable: consolidate zero page helpers
[can-eth-gw-linux.git] / include / linux / mm.h
index 4b80bad4a367630e6126ade2c7ae3e51b7a36368..4af4f0b1be4cad5cf231d565f5116745aa969a35 100644 (file)
@@ -516,14 +516,6 @@ static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma)
 }
 #endif
 
-#ifndef my_zero_pfn
-static inline unsigned long my_zero_pfn(unsigned long addr)
-{
-       extern unsigned long zero_pfn;
-       return zero_pfn;
-}
-#endif
-
 /*
  * Multiple processes may "see" the same page. E.g. for untouched
  * mappings of /dev/null, all processes see the same page full of