]> err.no Git - linux-2.6/blobdiff - include/asm-sh/floppy.h
sh: Fix get_user()/put_user() build error.
[linux-2.6] / include / asm-sh / floppy.h
index 3b59b3af777bb16214072e4cb732230c295dbbbd..59fbfdc90dfb0bbbdcab34fb367e62317e821a0c 100644 (file)
@@ -213,7 +213,7 @@ static int hard_dma_setup(char *addr, unsigned long size, int mode, int io)
        }
 #endif
 
-       dma_cache_wback_inv(addr, size);
+       __flush_purge_region(addr, size);
 
        /* actual, physical DMA */
        doing_pdma = 0;
@@ -263,10 +263,6 @@ static int FDC2 = -1;
 #define N_FDC 2
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
-#define AUTO_DMA
-
 #define EXTRA_FLOPPY_PARAMS
 
 #endif /* __ASM_SH_FLOPPY_H */