diff --git a/[refs] b/[refs] index 5735be89de2a..f6de8e07916c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f5886c7f96f2542382d3a983c5f13e03d7fc5259 +refs/heads/master: 51fbb4bab6c8710eb897ab3fb06efbbc921f3a8d diff --git a/trunk/scripts/markup_oops.pl b/trunk/scripts/markup_oops.pl index 528492bcba5b..89774011965d 100644 --- a/trunk/scripts/markup_oops.pl +++ b/trunk/scripts/markup_oops.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl use File::Basename; +use Math::BigInt; # Copyright 2008, Intel Corporation # @@ -172,8 +173,8 @@ sub process_x86_regs parse_x86_regs($line); } -my $decodestart = hex($target) - hex($func_offset); -my $decodestop = hex($target) + 8192; +my $decodestart = Math::BigInt->from_hex("0x$target") - Math::BigInt->from_hex("0x$func_offset"); +my $decodestop = Math::BigInt->from_hex("0x$target") + 8192; if ($target eq "0") { print "No oops found!\n"; print "Usage: \n";