diff options
author | Steven J. Magnani <steve@digidescorp.com> | 2010-05-13 11:48:27 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-08-04 04:22:34 -0400 |
commit | ba9c4f88d747836bf35c3eee36aa18d2e164f493 (patch) | |
tree | d244c9946b40af1ea21a1b71d3e49efa513bb4b7 /arch/microblaze/kernel/cpu/mb.c | |
parent | 0d9ec762af297f1ef38114f9498322d994063802 (diff) |
microblaze: Allow PAGE_SIZE configuration
Allow developer to configure memory page size at compile time.
Larger pages can improve performance on some workloads.
Based on PowerPC code.
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/cpu/mb.c')
-rw-r--r-- | arch/microblaze/kernel/cpu/mb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/cpu/mb.c b/arch/microblaze/kernel/cpu/mb.c index 4216eb1eaa32..7086e3564281 100644 --- a/arch/microblaze/kernel/cpu/mb.c +++ b/arch/microblaze/kernel/cpu/mb.c | |||
@@ -126,6 +126,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
126 | cpuinfo.pvr_user1, | 126 | cpuinfo.pvr_user1, |
127 | cpuinfo.pvr_user2); | 127 | cpuinfo.pvr_user2); |
128 | 128 | ||
129 | count += seq_printf(m, "Page size:\t%lu\n", PAGE_SIZE); | ||
129 | return 0; | 130 | return 0; |
130 | } | 131 | } |
131 | 132 | ||