ppc64: don't include <stddef.h>
PATCH 1/1 ppc64: don't include <stddef.h>
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 <[email protected]>
arch/ppc64/kernel/pacaData.c +2 -3
@@ -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>
arch/ppc64/kernel/LparData.c +2 -3
@@ -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>