Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64564
b: refs/heads/master
c: fc43dca
h: refs/heads/master
v: v3
  • Loading branch information
Masakazu Mokuno authored and Paul Mackerras committed Aug 30, 2007
1 parent 8e0de36 commit 0e66e05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 13a6976afdb10d54ac5ad344aa0c588bc0bd8b0a
refs/heads/master: fc43dca9e75b87d24a16d5be7b497e83837d9d31
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/platforms/ps3/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev)
x.minor = minor;
x.rev = rev;

return (ps3_firmware_version.raw - x.raw);
return (ps3_firmware_version.raw > x.raw) -
(ps3_firmware_version.raw < x.raw);
}
EXPORT_SYMBOL_GPL(ps3_compare_firmware_version);

Expand Down

0 comments on commit 0e66e05

Please sign in to comment.