diff --git a/[refs] b/[refs] index ace1bcf2508e..9501a13b35a7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f9d490ab374236a115440c771ecf0fb2890eb929 +refs/heads/master: 82fa39552fd858468a5647fa58d14955ecd50eb4 diff --git a/trunk/scripts/markup_oops.pl b/trunk/scripts/markup_oops.pl index 89774011965d..5f0fcb712e29 100644 --- a/trunk/scripts/markup_oops.pl +++ b/trunk/scripts/markup_oops.pl @@ -184,10 +184,7 @@ sub process_x86_regs # if it's a module, we need to find the .ko file and calculate a load offset if ($module ne "") { - my $dir = dirname($filename); - $dir = $dir . "/"; - my $mod = $module . ".ko"; - my $modulefile = `find $dir -name $mod | head -1`; + my $modulefile = `modinfo $module | grep '^filename:' | awk '{ print \$2 }'`; chomp($modulefile); $filename = $modulefile; if ($filename eq "") {