summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/scatterlist.h
diff options
context:
space:
mode:
authorRemis Lima Baima2009-06-18 19:55:33 +0200
committerMichal Simek2009-07-06 10:26:55 +0200
commit0a58458341fd571e521be542ff746a4a8995980c (patch)
tree995f6b12689cc2b1a7ebdd013a98754504b77e95 /arch/microblaze/include/asm/scatterlist.h
parentmicroblaze: use the generic lib/checksum.c (diff)
downloadkernel-qcow2-linux-0a58458341fd571e521be542ff746a4a8995980c.tar.gz
kernel-qcow2-linux-0a58458341fd571e521be542ff746a4a8995980c.tar.xz
kernel-qcow2-linux-0a58458341fd571e521be542ff746a4a8995980c.zip
microblaze: convert all simple headers to use asm-generic
All the simple microblaze header files were adapted to use their asm-generic implementations. These files are more simple and were quite straightforward to change. fb.h, vga.h and parport.h previously did not exist, using the generic version makes it possible to build more drivers successfully in allyesonfig. Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/scatterlist.h')
-rw-r--r--arch/microblaze/include/asm/scatterlist.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/arch/microblaze/include/asm/scatterlist.h b/arch/microblaze/include/asm/scatterlist.h
index 08ff1d049b42..35d786fe93ae 100644
--- a/arch/microblaze/include/asm/scatterlist.h
+++ b/arch/microblaze/include/asm/scatterlist.h
@@ -1,28 +1 @@
-/*
- * Copyright (C) 2008 Michal Simek <monstr@monstr.eu>
- * Copyright (C) 2006 Atmark Techno, Inc.
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- */
-
-#ifndef _ASM_MICROBLAZE_SCATTERLIST_H
-#define _ASM_MICROBLAZE_SCATTERLIST_H
-
-struct scatterlist {
-#ifdef CONFIG_DEBUG_SG
- unsigned long sg_magic;
-#endif
- unsigned long page_link;
- dma_addr_t dma_address;
- unsigned int offset;
- unsigned int length;
-};
-
-#define sg_dma_address(sg) ((sg)->dma_address)
-#define sg_dma_len(sg) ((sg)->length)
-
-#define ISA_DMA_THRESHOLD (~0UL)
-
-#endif /* _ASM_MICROBLAZE_SCATTERLIST_H */
+#include <asm-generic/scatterlist.h>