[PATCH][PPC64] Move kmem_bufctl_t inside #ifndef __ASSEMBLY__

From: Paul Mackerras
Date: Wed May 19 2004 - 22:18:50 EST


When the kmem_bufctl_t typedef got added to include/asm-ppc64/types.h,
it got added outside the #ifndef __ASSEMBLY__ section, causing
assembler errors. This patch, from David Gibson, moves it inside the
#ifndef __ASSEMBLY__ region.

Please apply.

Thanks,
Paul.

Index: working-2.6/include/asm-ppc64/types.h
===================================================================
--- working-2.6.orig/include/asm-ppc64/types.h 2004-05-20 11:03:59.000000000 +1000
+++ working-2.6/include/asm-ppc64/types.h 2004-05-20 13:12:48.012124216 +1000
@@ -71,9 +71,9 @@
unsigned long toc;
unsigned long env;
} func_descr_t;
-#endif /* __ASSEMBLY__ */

typedef unsigned int kmem_bufctl_t;
+#endif /* __ASSEMBLY__ */

#endif /* __KERNEL__ */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/