From: Peter Zijlstra Date: Mon, 15 Jun 2009 14:46:05 +0000 (+0200) Subject: x86: Add NMI types for kmap_atomic, fix X-Git-Tag: v2.6.31-rc1~93^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0990b1c65729012a63e0eeca93aaaafea4e9a064;p=pandora-kernel.git x86: Add NMI types for kmap_atomic, fix I just realized this has a kmap_atomic bug in... The below would fix it - but it's complicating this code some more. Alternatively I would have to introduce something like pte_offset_map_irq() which would make the irq/nmi detection and leave the regular code paths alone, however that would mean either duplicating the gup_fast() pagewalk or passing down a pte function pointer, which would only duplicate the gup_pte_range() bit, neither is really attractive ... Signed-off-by: Peter Zijlstra CC: Nick Piggin Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed