[PATCH] Make qe_get_firmware_info reentrant

2008-03-07 Thread Ionut Nicu
The function was returning NULL the second time it was called if the firmware was uploaded from the boot loader or the first time it was called if the firmware was uploaded from the kernel. Signed-off-by: Ionut Nicu <[EMAIL PROTECTED]> Acked-By: Timur Tabi <[EMAIL PROTECTED]> ---

[PATCH] Fix kernel panic in arch_arm_kprobe

2008-03-05 Thread Ionut Nicu
The code in arch_arm_kprobe was trying to set a breakpoint which resulted in a page fault because the kernel text pages were write protected. Disable the write protect when CONFIG_KPROBES is defined. Signed-off-by: Ionut Nicu <[EMAIL PROTECTED]> --- include/asm-powerpc/pgtable-ppc32.h