From: Meelis Roos <mroos@xxxxx> Date: Fri, 2 May 2014 07:51:13 +0300 (EEST) >> Make get_user_insn() able to cope with huge PMDs. >> >> Next, make do_fault_siginfo() more robust when get_user_insn() can't >> actually fetch the instruction. In particular, use the MMU announced >> fault address when that happens, instead of calling >> compute_effective_address() and computing garbage. >> >> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> > > This patch happens to introduce a compile failure on a computer that has > THP diabled: > > CC arch/sparc/mm/fault_64.o > arch/sparc/mm/fault_64.c: In function ʽget_user_insnʼ: > arch/sparc/mm/fault_64.c:117:3: error: implicit declaration of function ʽpmd_pfnʼ [-Werror=implicit-function-declaration] > > arch/sparc/include/asm/pgtable_64.h has pmd_pfn declared only for THP. Thanks a lot, I'll fix this by adding the appropriate ifdef around that code. ?τθΊ{.nΗ+?·????+%?Λ?±ιέΆ??w?Ί{.nΗ+?·¬??ά?)ξΗψ§Ά?ʽά¨}©?²Ζ zΪ&j:+v?¨ώψ―ω?w?ώ?ΰ2?ή?¨θΪ&ʼ)ίʽ«aΆΪ??ϋΰzΏδzΉή?ϊ+?ω???έʼj??wθώf