[PATCH] s390: fix kmem_bufctl_t definition

From: Arnd Bergmann
Date: Fri Jun 11 2004 - 08:06:51 EST


On s390, kmem_bufctl_t was added inside of an #ifdef, breaking
64 bit builds.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

===== include/asm-s390/types.h 1.8 vs edited =====
--- 1.8/include/asm-s390/types.h Wed May 19 18:02:49 2004
+++ edited/include/asm-s390/types.h Sat Jun 5 18:02:16 2004
@@ -79,6 +79,8 @@

typedef u32 dma_addr_t;

+typedef unsigned int kmem_bufctl_t;
+
#ifndef __s390x__
typedef union {
unsigned long long pair;
@@ -92,8 +94,6 @@
typedef u64 sector_t;
#define HAVE_SECTOR_T
#endif
-
-typedef unsigned int kmem_bufctl_t;

#endif /* ! __s390x__ */
#endif /* __ASSEMBLY__ */

Attachment: pgp00000.pgp
Description: signature