Re: make octeon kernels compile with DEBUG.

2018-06-13 Thread Visa Hankala
On Wed, Jun 13, 2018 at 08:34:46AM +0200, Janne Johansson wrote: > The unconditional #define DEBUG in octeon/machdep.c is somewhat weird. > > Should we just keep the whole block and remove the #ifdefs, move it to > #if 1 for later easy removal? Dunno, but it won't compile with DEBUG > unless somet

make octeon kernels compile with DEBUG.

2018-06-13 Thread Janne Johansson
Have nothing else than octeons to test with, but I guess it affects/fixes other mips64s too. For mips64_machdep.c, the vaddr_t va wasn't printable with %p, and since vaddr_t seems to be a unsigned long on mips64, I just %lx'd it. Casting it to (void *) also worked. The unconditional #define DEBUG