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 #include +#define BITS_PER_LONG 64 /* do_div() needs this */ + #include int (*prom)(void *); _