Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148588
b: refs/heads/master
c: 0a99061
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Mike Frysinger committed Jun 12, 2009
1 parent 4e9fdfa commit 6b4af81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 11aca0e7352b6a28193221cd2dd85f758fb71b23
refs/heads/master: 0a990614264f04879d9608da1cfcf9a6596efe08
5 changes: 2 additions & 3 deletions trunk/arch/blackfin/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,19 +587,18 @@ int kgdb_ebin2mem(char *buf, char *mem, int count)
unsigned short *mmr16;
unsigned long *mmr32;
int err;
int size = 0;
int size;
int cpu = raw_smp_processor_id();

tmp_old = tmp_new = buf;

while (count-- > 0) {
for (size = 0; size < count; ++size) {
if (*tmp_old == 0x7d)
*tmp_new = *(++tmp_old) ^ 0x20;
else
*tmp_new = *tmp_old;
tmp_new++;
tmp_old++;
size++;
}

err = validate_memory_access_address((unsigned long)mem, size);
Expand Down

0 comments on commit 6b4af81

Please sign in to comment.