Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156031
b: refs/heads/master
c: 51fbb4b
h: refs/heads/master
i:
  156029: 7762547
  156027: 5c1b7fc
  156023: ac306d3
  156015: 342782d
  155999: 2da096e
  155967: a2ab829
  155903: e1d4567
v: v3
  • Loading branch information
Matthew Wilcox authored and Linus Torvalds committed Jul 30, 2009
1 parent 5a6ec8b commit 8c219f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5886c7f96f2542382d3a983c5f13e03d7fc5259
refs/heads/master: 51fbb4bab6c8710eb897ab3fb06efbbc921f3a8d
5 changes: 3 additions & 2 deletions trunk/scripts/markup_oops.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/perl

use File::Basename;
use Math::BigInt;

# Copyright 2008, Intel Corporation
#
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 8c219f8

Please sign in to comment.