From: Harvey Harrison Date: Wed, 30 Jan 2008 12:33:12 +0000 (+0100) Subject: x86: remove last user of get_segment_eip X-Git-Tag: v2.6.25-rc1~1143^2~288 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2857ce92023409df1544737d5b3499b4630a183;p=pandora-kernel.git x86: remove last user of get_segment_eip is_prefetch was the last user of get_segment_eip and only on X86_32. This function returned the faulting instruction's address and set the upper segment limit. Instead, use the convert_ip_to_linear helper and rely on probe_kernel_address to do the segment checks which was already done everywhere the segment limit was being checked on X86_32. Remove get_segment_eip as well. Signed-off-by: Harvey Harrison Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed