microblaze: cpu: Delete MMAP_SHIFT definition
PATCH 1/1 microblaze: cpu: Delete MMAP_SHIFT definition
From: Peter Crosthwaite <[email protected]>
Just fallback on the default of 12 like other architectures. This allows changing the system-mode-affecting definition of TARGET_PAGE_BITS without affecting microblaze linux-user.
Signed-off-by Peter Crosthwaite <[email protected]>
--- target-microblaze/cpu.h | 1 - 1 file changed, 1 deletion(-)
target-microblaze/cpu.h +0 -1
@@ -285,7 +285,6 @@ int cpu_mb_signal_handler(int host_signum, void *pinfo,/* FIXME: MB uses variable pages down to 1K but linux only uses 4k. */ #define TARGET_PAGE_BITS 12 -#define MMAP_SHIFT TARGET_PAGE_BITS#define TARGET_PHYS_ADDR_SPACE_BITS 32#define TARGET_VIRT_ADDR_SPACE_BITS 32
Signature · 1 line
1.9.1
Quoted 5 lines · Peter Crosthwaite
From: Peter Crosthwaite <[email protected]>
Just fallback on the default of 12 like other architectures. This allows changing the system-mode-affecting definition of
TARGET_PAGE_BITSwithout affecting microblaze linux-user.
Reviewed-by Edgar E. Iglesias <[email protected]>
Quoted 21 lines
Signed-off-by Peter Crosthwaite <[email protected]>--- target-microblaze/cpu.h | 1 - 1 file changed, 1 deletion(-)target-microblaze/cpu.h +0
-1@@ -285,7 +285,6 @@ int cpu_mb_signal_handler(int host_signum, void *pinfo,/* FIXME: MB uses variable pages down to 1K but linux only uses 4k. */ #define TARGET_PAGE_BITS 12 -#define MMAP_SHIFT TARGET_PAGE_BITS#define TARGET_PHYS_ADDR_SPACE_BITS 32#define TARGET_VIRT_ADDR_SPACE_BITS 32Signature · 1 line
1.9.1
Michael Tokarev
AppliedApplied to -trivial, thank you!