Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199516
b: refs/heads/master
c: 59dde38
h: refs/heads/master
v: v3
  • Loading branch information
Hui Zhu authored and Michal Marek committed Feb 5, 2010
1 parent 0065f69 commit 4dc4455
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 52e13e219d5930fb8fb774050e6ecffa244a60a9
refs/heads/master: 59dde3853e07aaadc2b63abd16c954d5b0606cf1
10 changes: 5 additions & 5 deletions trunk/scripts/markup_oops.pl
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
# Get options
Getopt::Long::GetOptions(
'cross-compile|c=s' => \$cross_compile,
'module|m=s' => \$modulefile,
'module|m=s' => \$modulefile,
'help|h' => \&usage,
);
my $vmlinux_name = $ARGV[$#ARGV];
) || usage ();
my $vmlinux_name = $ARGV[0];
if (!defined($vmlinux_name)) {
my $kerver = `uname -r`;
chomp($kerver);
Expand Down Expand Up @@ -193,7 +193,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 "") {
if ($modulefile eq "") {
my $modulefile = `modinfo $module | grep '^filename:' | awk '{ print \$2 }'`;
$modulefile = `modinfo -F filename $module`;
chomp($modulefile);
}
$filename = $modulefile;
Expand Down Expand Up @@ -362,7 +362,7 @@ sub usage {
OPTION:
-c, --cross-compile CROSS_COMPILE Specify the prefix used for toolchain.
-m, --module MODULE_DIRNAME Specify the module directory name.
-m, --module MODULE_DIRNAME Specify the module filename.
-h, --help Help.
EOT
exit;
Expand Down

0 comments on commit 4dc4455

Please sign in to comment.