Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118848
b: refs/heads/master
c: f911c68
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Nov 12, 2008
1 parent c09381f commit f2cad73
Show file tree
Hide file tree
Showing 2 changed files with 4 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: b308bf3be1f75207c307eea9ada90e0b76194911
refs/heads/master: f911c685d65ea1855eb3f95b8eaf871e5d9342fa
4 changes: 3 additions & 1 deletion trunk/arch/mn10300/mm/misalignment.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ static int misalignment_addr(unsigned long *registers, unsigned params,
{
unsigned long *postinc = NULL, address = 0, tmp;

params &= 0x7fffffff;
params &= 0x00ffffff;

do {
switch (params & 0xff) {
Expand Down Expand Up @@ -631,6 +631,7 @@ static int misalignment_addr(unsigned long *registers, unsigned params,
address += disp;
break;
default:
BUG();
return 0;
}
} while ((params >>= 8));
Expand Down Expand Up @@ -697,6 +698,7 @@ static int misalignment_reg(unsigned long *registers, unsigned params,
break;

default:
BUG();
return 0;
}

Expand Down

0 comments on commit f2cad73

Please sign in to comment.