* [PATCH] ppc64: don't include <stddef.h>
@ 2004-10-26 3:33 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-10-26 3:33 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linus Torvalds, Linux Kernel list
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@kernel.crashing.org>
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-26 3:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-26 3:33 [PATCH] ppc64: don't include <stddef.h> Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox