[PATCH] s390: fix kmem_bufctl_t definition

Arnd Bergmann
2004-06-11T13:03:09Z

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

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

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

===== 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 #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]