Re: [PATCH] [POWERPC] Fix oops related to 4xx flush_tlb_page modification

2007-11-09 Thread Benjamin Herrenschmidt
On Fri, 2007-11-09 at 03:58 -0600, Kumar Gala wrote: > kmap_atomic calls flush_tlb_page with a NULL VMA and thus we end > up dereferencing a NULL pointer to try and get the context.id. > > If the VMA is null use the global pid value of 0. Ack. > --- > include/asm-powerpc/tlbflush.h |4 ++--

[PATCH] [POWERPC] Fix oops related to 4xx flush_tlb_page modification

2007-11-09 Thread Kumar Gala
kmap_atomic calls flush_tlb_page with a NULL VMA and thus we end up dereferencing a NULL pointer to try and get the context.id. If the VMA is null use the global pid value of 0. --- include/asm-powerpc/tlbflush.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include