]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ARM: 5928/1: Change type of VMALLOC_END to unsigned long.
authorFenkart/Bostandzhyan <andreas.fenkart@streamunlimited.com>
Sun, 7 Feb 2010 20:47:17 +0000 (21:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Feb 2010 21:40:33 +0000 (21:40 +0000)
Makes it consistent with VMALLOC_START

Tested-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andreas Fenkart <andreas.fenkart@streamunlimited.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
30 files changed:
arch/arm/include/asm/memory.h
arch/arm/include/asm/pgtable-nommu.h
arch/arm/mach-davinci/include/mach/hardware.h
arch/arm/mach-dove/include/mach/vmalloc.h
arch/arm/mach-ep93xx/include/mach/vmalloc.h
arch/arm/mach-gemini/include/mach/vmalloc.h
arch/arm/mach-iop32x/include/mach/vmalloc.h
arch/arm/mach-iop33x/include/mach/vmalloc.h
arch/arm/mach-ixp2000/include/mach/vmalloc.h
arch/arm/mach-ixp23xx/include/mach/vmalloc.h
arch/arm/mach-ixp4xx/include/mach/vmalloc.h
arch/arm/mach-kirkwood/include/mach/vmalloc.h
arch/arm/mach-lh7a40x/include/mach/vmalloc.h
arch/arm/mach-loki/include/mach/vmalloc.h
arch/arm/mach-mmp/include/mach/vmalloc.h
arch/arm/mach-mv78xx0/include/mach/vmalloc.h
arch/arm/mach-nomadik/include/mach/vmalloc.h
arch/arm/mach-ns9xxx/include/mach/vmalloc.h
arch/arm/mach-orion5x/include/mach/vmalloc.h
arch/arm/mach-pxa/include/mach/vmalloc.h
arch/arm/mach-realview/include/mach/vmalloc.h
arch/arm/mach-s3c24a0/include/mach/vmalloc.h
arch/arm/mach-sa1100/include/mach/vmalloc.h
arch/arm/mach-u300/include/mach/vmalloc.h
arch/arm/mach-ux500/include/mach/vmalloc.h
arch/arm/mach-w90x900/include/mach/vmalloc.h
arch/arm/mm/init.c
arch/arm/plat-mxc/include/mach/vmalloc.h
arch/arm/plat-s3c/include/mach/vmalloc.h
arch/arm/plat-stmp3xxx/include/mach/vmalloc.h

index f5e693b8bab32d5b6f543373af0582d92d6cb4c5..4312ee5e3d0b6d97b83f0655435c7514d43da671 100644 (file)
 #endif
 
 #ifndef PHYS_OFFSET
-#define PHYS_OFFSET            (CONFIG_DRAM_BASE)
+#define PHYS_OFFSET            UL(CONFIG_DRAM_BASE)
 #endif
 
 #ifndef END_MEM
-#define END_MEM                (CONFIG_DRAM_BASE + CONFIG_DRAM_SIZE)
+#define END_MEM                (UL(CONFIG_DRAM_BASE) + CONFIG_DRAM_SIZE)
 #endif
 
 #ifndef PAGE_OFFSET
index b011f2e939aa703da1366306bfa75a980d217c37..013cfcdc4839a2df6b5f0e842515c0a0c166f524 100644 (file)
@@ -86,8 +86,8 @@ extern unsigned int kobjsize(const void *objp);
  * All 32bit addresses are effectively valid for vmalloc...
  * Sort of meaningless for non-VM targets.
  */
-#define        VMALLOC_START   0
-#define        VMALLOC_END     0xffffffff
+#define        VMALLOC_START   0UL
+#define        VMALLOC_END     0xffffffffUL
 
 #define FIRST_USER_ADDRESS      (0)
 
index 41c89386e39b46f416aa4c9e12ee6332364ce21b..c45ba1f62a11a3b32d70b44e291a1f0bc8b98764 100644 (file)
@@ -27,7 +27,7 @@
 /*
  * I/O mapping
  */
-#define IO_PHYS                                0x01c00000
+#define IO_PHYS                                0x01c00000UL
 #define IO_OFFSET                      0xfd000000 /* Virtual IO = 0xfec00000 */
 #define IO_SIZE                                0x00400000
 #define IO_VIRT                                (IO_PHYS + IO_OFFSET)
index 8b2c974755c6d0045cf0ff4ee7fb9d6b05005a41..a28792cf761e1618dbd66bdde8115dd3b3bc60b1 100644 (file)
@@ -2,4 +2,4 @@
  * arch/arm/mach-dove/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END    0xfd800000
+#define VMALLOC_END    0xfd800000UL
index aed21cd3fe2d85ba006fe10970cced78a72ba7c9..1b3f25d03d39134d69a6043f257dcc300c04373b 100644 (file)
@@ -2,4 +2,4 @@
  * arch/arm/mach-ep93xx/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END    0xfe800000
+#define VMALLOC_END    0xfe800000UL
index 83e536d9436c02c7742edb78bd2906dbbc4338ca..45371eb86fcbf332020a9bb4a8e29a53b39b41ef 100644 (file)
@@ -7,4 +7,4 @@
  * (at your option) any later version.
  */
 
-#define VMALLOC_END    0xF0000000
+#define VMALLOC_END    0xf0000000UL
index 85ceb09d85f031f9d77397a12d8c298130929b2c..c4862d48e583165bfb1ee2185a35742851a6ad71 100644 (file)
@@ -2,4 +2,4 @@
  * arch/arm/mach-iop32x/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END    0xfe000000
+#define VMALLOC_END    0xfe000000UL
index f9f99dea9bc44db39dd671bf66047077015856e0..48331dc2370411ca75db48058ea1ca8f5966a763 100644 (file)
@@ -2,4 +2,4 @@
  * arch/arm/mach-iop33x/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END    0xfe000000
+#define VMALLOC_END    0xfe000000UL
index d195e35aed3bfe88a40ba18c9591433e63454883..61c8dae24f959f5311cc1c12ac651ca88fb2a67f 100644 (file)
@@ -17,4 +17,4 @@
  * The vmalloc() routines leaves a hole of 4kB between each vmalloced
  * area for the same reason. ;)
  */
-#define VMALLOC_END        0xfb000000
+#define VMALLOC_END        0xfb000000UL
index dd519f678d10fda041407d400ff5a732e0192ae1..896c56a1c00e4df2caa9a22192a2b6288cb3931a 100644 (file)
@@ -7,4 +7,4 @@
  * specific static I/O.
  */
 
-#define VMALLOC_END    (0xec000000)
+#define VMALLOC_END    (0xec000000UL)
index 7b3580b53adf3689a542d26670b550698d44bda4..9bcd64d59854559aad55acd19438d7c70927d4dc 100644 (file)
@@ -1,5 +1,5 @@
 /*
  * arch/arm/mach-ixp4xx/include/mach/vmalloc.h
  */
-#define VMALLOC_END       (0xFF000000)
+#define VMALLOC_END       (0xff000000UL)
 
index 8f48260dcdadbe6ea3eeeef07b3c13d12d2a75a7..bf162ca3d2c16b625f819fb6cdc3bb4be43a38d1 100644 (file)
@@ -2,4 +2,4 @@
  * arch/arm/mach-kirkwood/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END    0xfe800000
+#define VMALLOC_END    0xfe800000UL
index 3fbd49490bb9d7290165aba3e6d67fa425d41a4e..d62da7358b16c05ad716cb7d91dabfbce914721a 100644 (file)
@@ -7,4 +7,4 @@
  *  version 2 as published by the Free Software Foundation.
  *
  */
-#define VMALLOC_END       (0xe8000000)
+#define VMALLOC_END       (0xe8000000UL)
index 8dc3bfcbf9f07eb1754411d4ca82adfade746200..5dcbd865443f0bae5415dc5288d195854c1178a0 100644 (file)
@@ -2,4 +2,4 @@
  * arch/arm/mach-loki/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END    0xfe800000
+#define VMALLOC_END    0xfe800000UL
index b60ccaf9fee75dff3da8e152c8d69e72dc002351..1d0bac003ad0bb984b1430e9ba01531b37777bf7 100644 (file)
@@ -2,4 +2,4 @@
  * linux/arch/arm/mach-mmp/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END    0xfe000000
+#define VMALLOC_END    0xfe000000UL
index 1c4954386a847beeec73102dd0fbafff730e05c7..ba26fe98e640097371b348d34a1d6c49ce53e529 100644 (file)
@@ -2,4 +2,4 @@
  * arch/arm/mach-mv78xx0/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END    0xfe000000
+#define VMALLOC_END    0xfe000000UL
index be12e31ea52886d520eb88fcdd39fbdc5725f6fe..f83d574d9445728ec374d96db6decf288a47cab2 100644 (file)
@@ -1,2 +1,2 @@
 
-#define VMALLOC_END       0xe8000000
+#define VMALLOC_END       0xe8000000UL
index fe964d3bcc477d9710c6929f8a41d3da6fc52f08..c8651974c4b0f0a3a2c9560cbcb17e95cc8eb606 100644 (file)
@@ -11,6 +11,6 @@
 #ifndef __ASM_ARCH_VMALLOC_H
 #define __ASM_ARCH_VMALLOC_H
 
-#define VMALLOC_END     (0xf0000000)
+#define VMALLOC_END     (0xf0000000UL)
 
 #endif /* ifndef __ASM_ARCH_VMALLOC_H */
index 7147a297e97f4c2e11e8d5a1fd03dc3608ee34d9..06b50aeff7b90fb78d4320685976f383c3e315e3 100644 (file)
@@ -2,4 +2,4 @@
  * arch/arm/mach-orion5x/include/mach/vmalloc.h
  */
 
-#define VMALLOC_END       0xfd800000
+#define VMALLOC_END       0xfd800000UL
index e90c5eeb81dde9b94304e2eae66ab7b10ea0337e..bfecfbf5f460a4fcfdeca64cd54d1cc6d644f635 100644 (file)
@@ -8,4 +8,4 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#define VMALLOC_END       (0xe8000000)
+#define VMALLOC_END       (0xe8000000UL)
index fe0de1b507ac20b6305b49ff341e8a0b575251ab..a2a4c68614073f37d0ec8ac0e47a40556571fffb 100644 (file)
@@ -18,4 +18,4 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#define VMALLOC_END            0xf8000000
+#define VMALLOC_END            0xf8000000UL
index 4d4fe48495898fd20d284e5e23da2ca6fd0f738f..914656820794062b578b4cde002a9a2ecd0ed378 100644 (file)
@@ -12,6 +12,6 @@
 #ifndef __ASM_ARCH_VMALLOC_H
 #define __ASM_ARCH_VMALLOC_H
 
-#define VMALLOC_END      (0xE0000000)
+#define VMALLOC_END      (0xe0000000UL)
 
 #endif /* __ASM_ARCH_VMALLOC_H */
index ec8fdc5a3606bb80be5b32e7f990c44a47e89b4d..b3d0023984803dc17f7716427318ee0626844688 100644 (file)
@@ -1,4 +1,4 @@
 /*
  * arch/arm/mach-sa1100/include/mach/vmalloc.h
  */
-#define VMALLOC_END       (0xe8000000)
+#define VMALLOC_END       (0xe8000000UL)
index b00c51a66fbe59cf948d14fc8582ded0a3374eca..ec423b92b81dd25ffd69f623bb190c6114108653 100644 (file)
@@ -9,4 +9,4 @@
  * End must be above the I/O registers and on an even 2MiB boundary.
  * Author: Linus Walleij <linus.walleij@stericsson.com>
  */
-#define VMALLOC_END    0xfe800000
+#define VMALLOC_END    0xfe800000UL
index 86cdbbce1842f8b8bd089261fb0a444eaeb5564c..a4945cb41172c09e80620f19fad10bfe499fcb55 100644 (file)
@@ -15,4 +15,4 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#define VMALLOC_END    0xf0000000
+#define VMALLOC_END    0xf0000000UL
index 2f9dfb928533391e292feb51cd45aaec5543a3a3..b067e44500a48b84796fbfae6db045ac69b21265 100644 (file)
@@ -18,6 +18,6 @@
 #ifndef __ASM_ARCH_VMALLOC_H
 #define __ASM_ARCH_VMALLOC_H
 
-#define VMALLOC_END      (0xE0000000)
+#define VMALLOC_END      (0xe0000000UL)
 
 #endif /* __ASM_ARCH_VMALLOC_H */
index bda481e6bc0f0967a983ecf91eb1a5700ad12b6a..3a20772394741453034dee7d0ebbec7164c54dfb 100644 (file)
@@ -670,7 +670,7 @@ void __init mem_init(void)
 #ifdef CONFIG_MMU
                        MLM(CONSISTENT_BASE, CONSISTENT_END),
 #endif
-                       MLM(VMALLOC_START, (unsigned long)VMALLOC_END),
+                       MLM(VMALLOC_START, VMALLOC_END),
                        MLM(PAGE_OFFSET, (unsigned long)high_memory),
 #ifdef CONFIG_HIGHMEM
                        MLM(PKMAP_BASE, (PKMAP_BASE) + (LAST_PKMAP) *
index 62d97623412f1061cee30d249823c5e98416f37f..44243a278434b027d604ed590e43d9cdb5749653 100644 (file)
@@ -21,6 +21,6 @@
 #define __ASM_ARCH_MXC_VMALLOC_H__
 
 /* vmalloc ending address */
-#define VMALLOC_END       0xF4000000
+#define VMALLOC_END       0xf4000000UL
 
 #endif /* __ASM_ARCH_MXC_VMALLOC_H__ */
index bfd2ca6e3074a6d4abd4d5706dcc4bf9d0031099..299d95f365c961dc21aad21cacd88730c183ce84 100644 (file)
@@ -15,6 +15,6 @@
 #ifndef __ASM_ARCH_VMALLOC_H
 #define __ASM_ARCH_VMALLOC_H
 
-#define VMALLOC_END      (0xE0000000)
+#define VMALLOC_END      (0xe0000000UL)
 
 #endif /* __ASM_ARCH_VMALLOC_H */
index 541b880c1863627ac36c1e84f36de0221df4d632..943c1a29d641470fa733b7cf7fd3604f15433e8d 100644 (file)
@@ -9,4 +9,4 @@
  * http://www.opensource.org/licenses/gpl-license.html
  * http://www.gnu.org/copyleft/gpl.html
  */
-#define VMALLOC_END       (0xF0000000)
+#define VMALLOC_END       0xf0000000UL