sh: nommu: use 32-bit phys mode.
The nommu code has regressed somewhat in that 29BIT gets set for the SH-2/2A configs regardless of the fact that they are really 32BIT sans MMU or PMB. This does a bit of tidying to get nommu properly selecting 32BIT as it was before. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@ -28,7 +28,7 @@ EXPORT_SYMBOL(virt_addr_uncached);
|
||||
|
||||
void __init uncached_init(void)
|
||||
{
|
||||
#ifdef CONFIG_29BIT
|
||||
#if defined(CONFIG_29BIT) || !defined(CONFIG_MMU)
|
||||
uncached_start = P2SEG;
|
||||
#else
|
||||
uncached_start = memory_end;
|
||||
|
Reference in New Issue
Block a user