Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145766
b: refs/heads/master
c: 6424fb3
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Apr 14, 2009
1 parent 65976ff commit eca2235
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 66aa230e437d89ca56224135f617e2d8e391a3ef
refs/heads/master: 6424fb38667fffbbb1b90be0ffd9a0c540db6a4b
7 changes: 4 additions & 3 deletions trunk/arch/x86/mm/dump_pagetables.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ static void note_page(struct seq_file *m, struct pg_state *st,
st->current_address >= st->marker[1].start_address) {
const char *unit = units;
unsigned long delta;
int width = sizeof(unsigned long) * 2;

/*
* Now print the actual finished series
*/
seq_printf(m, "0x%p-0x%p ",
(void *)st->start_address,
(void *)st->current_address);
seq_printf(m, "0x%0*lx-0x%0*lx ",
width, st->start_address,
width, st->current_address);

delta = (st->current_address - st->start_address) >> 10;
while (!(delta & 1023) && unit[1]) {
Expand Down

0 comments on commit eca2235

Please sign in to comment.