patches for current -mm kernels
Andrew Morton
akpm at osdl.org
Sun Aug 3 07:23:26 EST 2003
arch/ppc64/boot/prom.c doesn't compile. Because there is no definition of
BITS_PER_LONG for div64.h. Hack one up.
arch/ppc64/boot/prom.c | 2 ++
1 files changed, 2 insertions(+)
diff -puN arch/ppc64/boot/prom.c~ppc64-prom-compile-fix arch/ppc64/boot/prom.c
--- 25-power4/arch/ppc64/boot/prom.c~ppc64-prom-compile-fix 2003-08-02 13:53:53.000000000 -0700
+++ 25-power4-akpm/arch/ppc64/boot/prom.c 2003-08-02 13:54:25.000000000 -0700
@@ -11,6 +11,8 @@
#include <linux/string.h>
#include <linux/ctype.h>
+#define BITS_PER_LONG 64 /* do_div() needs this */
+
#include <asm/div64.h>
int (*prom)(void *);
_
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list