public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s390: fix kmem_bufctl_t definition
@ 2004-06-11 13:02 Arnd Bergmann
  0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2004-06-11 13:02 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Martin Schwidefsky, linux-kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-11 13:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-11 13:02 [PATCH] s390: fix kmem_bufctl_t definition Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox