projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffb350
)
x86: mtrr_cleanup try gran_size to less than 1M, cleanup
author
J.A. Magallón
<jamagallon@ono.com>
Thu, 2 Oct 2008 22:32:37 +0000
(
00:32
+0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 3 Oct 2008 07:41:42 +0000
(09:41 +0200)
Patch below cleans up formatting, with space for big bases and sizes (64 Gb).
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/if.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/mtrr/if.c
b/arch/x86/kernel/cpu/mtrr/if.c
index 84c480bb3715af21405c6d55fab0f3160cbf3a59..4c4214690dd10a4c32fc787e03bce6e7cba315d9 100644
(file)
--- a/
arch/x86/kernel/cpu/mtrr/if.c
+++ b/
arch/x86/kernel/cpu/mtrr/if.c
@@
-405,9
+405,9
@@
static int mtrr_seq_show(struct seq_file *seq, void *offset)
}
/* RED-PEN: base can be > 32bit */
len += seq_printf(seq,
- "reg%02i: base=0x%0
5lx000 (%4luMB), size=%4lu%cB: %s, count=%d
\n",
+ "reg%02i: base=0x%0
6lx000 (%5luMB), size=%5lu%cB, count=%d: %s
\n",
i, base, base >> (20 - PAGE_SHIFT), size, factor,
- mtrr_
attrib_to_str(type), mtrr_usage_table[i]
);
+ mtrr_
usage_table[i], mtrr_attrib_to_str(type)
);
}
}
return 0;