Skip to contentSkip to conversation

s390: fix kmem_bufctl_t definition

PATCH New Arnd Bergmann 1 participant 1 message Jun 11, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390: fix kmem_bufctl_t definition

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

===== include/asm-s390/types.h 1.8 vs edited =====

include/asm-s390/types.h +2 -2
@@ -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__  */