Problems with compiling ldstfp.S

2010-08-21 Thread Sean MacLennan
The new file ldstfp.S is getting pulled in on the Warp due to CONFIG_KPROBES, but does not compile: AS arch/powerpc/lib/ldstfp.o arch/powerpc/lib/ldstfp.S: Assembler messages: arch/powerpc/lib/ldstfp.S:84: Error: Unrecognized opcode: `mtmsrd' arch/powerpc/lib/ldstfp.S:96: Error: Unrecognize

[PATCH] powerpc: remove fpscr use from [kvm_]cvt_{fd,df}

2010-08-21 Thread Andreas Schwab
Neither lfs nor stfs touch the fpscr, so remove the restore/save of it around them. Signed-off-by: Andreas Schwab --- arch/powerpc/include/asm/kvm_fpu.h |4 +- arch/powerpc/include/asm/system.h|4 +- arch/powerpc/kernel/align.c |4 +- arch/powerpc/kernel/fp

[PATCH] pmu: add compat_pmu_ioctl

2010-08-21 Thread Andreas Schwab
The ioctls are actually compatible, but due to historical mistake the numbers differ between 32bit and 64bit. Signed-off-by: Andreas Schwab --- drivers/macintosh/via-pmu.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/drivers/ma

Re: How to build the kernel without any optimization?

2010-08-21 Thread Nicholas Mc Guire
On Fri, 20 Aug 2010, Shawn Jin wrote: > Hi, > > I'm tracing the execution of ds1307_probe() and find that some of > variables or function arguments cannot be printed in gdb because they > are optimized out or not in the current context. This really gives > some headache. Is there a way to build t