Skip to contentSkip to conversation

microblaze: cpu: Delete MMAP_SHIFT definition

PATCH Applied Peter Crosthwaite 3 participants 3 messages May 15, 2015 – May 28, 2015

lore
Share & tools
lore
#0 lore raw

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.

---
 target-microblaze/cpu.h | 1 -
 1 file changed, 1 deletion(-)
target-microblaze/cpu.h +0 -1
index 4ea04ac..d73e1c7 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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_BITS without affecting microblaze linux-user.

Quoted 21 lines
---
 target-microblaze/cpu.h | 1 -
 1 file changed, 1 deletion(-)
target-microblaze/cpu.h +0 -1
index 4ea04ac..d73e1c7 100644
@@ -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