[PATCH] ppc64: don't include <stddef.h>

From: Benjamin Herrenschmidt
Date: Mon Oct 25 2004 - 22:44:14 EST


Hi !

This patch fixes a couple of places where the ppc64 iSeries code would
#include <stddef.h>. The only "system" include I consider acceptable is
<stdarg.h> provided by gcc.

Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

Index: linux-work/arch/ppc64/kernel/pacaData.c
===================================================================
--- linux-work.orig/arch/ppc64/kernel/pacaData.c 2004-10-17 12:07:06.000000000 +1000
+++ linux-work/arch/ppc64/kernel/pacaData.c 2004-10-26 08:43:35.091369968 +1000
@@ -7,13 +7,12 @@
* 2 of the License, or (at your option) any later version.
*/

-#include <asm/types.h>
-#include <asm/page.h>
-#include <stddef.h>
#include <linux/config.h>
+#include <linux/types.h>
#include <linux/threads.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
+#include <asm/page.h>

#include <asm/iSeries/ItLpPaca.h>
#include <asm/iSeries/ItLpQueue.h>
Index: linux-work/arch/ppc64/kernel/LparData.c
===================================================================
--- linux-work.orig/arch/ppc64/kernel/LparData.c 2004-10-21 11:47:00.000000000 +1000
+++ linux-work/arch/ppc64/kernel/LparData.c 2004-10-26 08:44:56.238033800 +1000
@@ -6,9 +6,8 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
-#include <asm/types.h>
-#include <asm/page.h>
-#include <stddef.h>
+#include <linux/config.h>
+#include <linux/types.h>
#include <linux/threads.h>
#include <linux/module.h>
#include <linux/bitops.h>


-
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/