Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9d84588bdb72b6ec9d891fbdaa4305023e16ee3a
Commit:     9d84588bdb72b6ec9d891fbdaa4305023e16ee3a
Parent:     a228d6e7ed8e3624b6c1497a550d8d0e2cac889f
Author:     Krzysztof Helt <[EMAIL PROTECTED]>
AuthorDate: Sat Aug 18 22:23:57 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Thu Aug 23 12:36:40 2007 +0100

    [ARM] 4551/1: s3c24xx: fix wrong virtual address offsets
    
    This patch reduces 36-bit offset to 32-bit offsets. The 36-bit
    offsets makes virtual addresses wraps when added to 32-bit base.
    
    Signed-off-by: Krzysztof Helt <[EMAIL PROTECTED]>
    Acked-by: Ben Dooks <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 include/asm-arm/plat-s3c/map.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/asm-arm/plat-s3c/map.h b/include/asm-arm/plat-s3c/map.h
index 95a82b0..b84289d 100644
--- a/include/asm-arm/plat-s3c/map.h
+++ b/include/asm-arm/plat-s3c/map.h
@@ -30,11 +30,11 @@
 #define S3C_ADDR(x)    (S3C_ADDR_BASE + (x))
 #endif
 
-#define S3C_VA_IRQ     S3C_ADDR(0x000000000)   /* irq controller(s) */
-#define S3C_VA_SYS     S3C_ADDR(0x001000000)   /* system control */
-#define S3C_VA_MEM     S3C_ADDR(0x002000000)   /* system control */
-#define S3C_VA_TIMER   S3C_ADDR(0x003000000)   /* timer block */
-#define S3C_VA_WATCHDOG        S3C_ADDR(0x004000000)   /* watchdog */
-#define S3C_VA_UART    S3C_ADDR(0x010000000)   /* UART */
+#define S3C_VA_IRQ     S3C_ADDR(0x00000000)    /* irq controller(s) */
+#define S3C_VA_SYS     S3C_ADDR(0x00100000)    /* system control */
+#define S3C_VA_MEM     S3C_ADDR(0x00200000)    /* system control */
+#define S3C_VA_TIMER   S3C_ADDR(0x00300000)    /* timer block */
+#define S3C_VA_WATCHDOG        S3C_ADDR(0x00400000)    /* watchdog */
+#define S3C_VA_UART    S3C_ADDR(0x01000000)    /* UART */
 
 #endif /* __ASM_PLAT_MAP_H */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to