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/head.S | |
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/head.S')
-rw-r--r-- | arch/microblaze/kernel/head.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/head.S b/arch/microblaze/kernel/head.S index 1bf73988826..42434008209 100644 --- a/arch/microblaze/kernel/head.S +++ b/arch/microblaze/kernel/head.S | |||
@@ -43,10 +43,10 @@ | |||
43 | .global empty_zero_page | 43 | .global empty_zero_page |
44 | .align 12 | 44 | .align 12 |
45 | empty_zero_page: | 45 | empty_zero_page: |
46 | .space 4096 | 46 | .space PAGE_SIZE |
47 | .global swapper_pg_dir | 47 | .global swapper_pg_dir |
48 | swapper_pg_dir: | 48 | swapper_pg_dir: |
49 | .space 4096 | 49 | .space PAGE_SIZE |
50 | 50 | ||
51 | #endif /* CONFIG_MMU */ | 51 | #endif /* CONFIG_MMU */ |
52 | 52 | ||