git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ucc_geth: Fix BD processing
[safe/jmp/linux-2.6]
/
drivers
/
atm
/
firestream.c
diff --git
a/drivers/atm/firestream.c
b/drivers/atm/firestream.c
index
697ad82
..
9c67df5
100644
(file)
--- a/
drivers/atm/firestream.c
+++ b/
drivers/atm/firestream.c
@@
-512,7
+512,7
@@
static unsigned int make_rate (unsigned int rate, int r,
}
case ROUND_UP: {
/* check all bits that we are discarding */
- if (man & (
-1
>>9)) {
+ if (man & (
~0U
>>9)) {
man = (man>>(32-9)) + 1;
if (man == (1<<9)) {
/* no need to check for round up outside of range */