]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m68k/pgtable.h
fat: ->i_pos race fix
[linux-2.6-omap-h63xx.git] / include / asm-m68k / pgtable.h
index 555b87a1f7e3220ff562c60ab0409b4273e90568..0b604f0f192d5916b74aee3026c70a7351834671 100644 (file)
@@ -107,23 +107,6 @@ extern void *empty_zero_page;
 /* 64-bit machines, beware!  SRB. */
 #define SIZEOF_PTR_LOG2                               2
 
-/*
- * Check if the addr/len goes up to the end of a physical
- * memory chunk.  Used for DMA functions.
- */
-#ifdef CONFIG_SINGLE_MEMORY_CHUNK
-/*
- * It makes no sense to consider whether we cross a memory boundary if
- * we support just one physical chunk of memory.
- */
-static inline int mm_end_of_chunk(unsigned long addr, int len)
-{
-       return 0;
-}
-#else
-int mm_end_of_chunk (unsigned long addr, int len);
-#endif
-
 extern void kernel_set_cachemode(void *addr, unsigned long size, int cmode);
 
 /*