]> git.hungrycats.org Git - linux/commitdiff
[ARM PATCH] 1497/1: Cleanup of head.S
authorDirk Behme <dirk.behme@com.rmk.(none)>
Sun, 13 Apr 2003 10:53:57 +0000 (11:53 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 13 Apr 2003 10:53:57 +0000 (11:53 +0100)
Patch from Dirk Behme

Please see mail thread '[patch] Cleanup of head.S?' from 25 Feb 2003. Let us remove the third part now. The mapping set by this code is done already.

The comment of rmk was

'I suspect we can kill (3) without hurting stuff that's merged into the
-rmk tree, although I'm sure there's a reason it existed.  I'll have
to check my mail archives, but I think there was a machine that required,
but it appears not to be merged.'

So, let's try and see if somebody cries...

arch/arm/kernel/head.S

index 97dad3972f37b805d7b8f4ccf71f68500b4763e6..04a32ea49695e3a21d477103789a761717310649 100644 (file)
@@ -205,18 +205,6 @@ __create_page_tables:
        add     r3, r3, #1 << 20
        str     r3, [r0], #4                    @ KERNEL + 3MB
 
-       /*
-        * Ensure that the first section of RAM is present.
-        * we assume that:
-        *  1. the RAM is aligned to a 32MB boundary
-        *  2. the kernel is executing in the same 32MB chunk
-        *     as the start of RAM.
-        */
-       bic     r0, r0, #0x01f00000 >> 18       @ round down
-       and     r2, r5, #0xfe000000             @ round down
-       add     r3, r8, r2                      @ flags + rambase
-       str     r3, [r0]
-
        bic     r8, r8, #0x0c                   @ turn off cacheable
                                                @ and bufferable bits
 #ifdef CONFIG_DEBUG_LL