Commit 1eacdec6 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] sparse: amd64 - long constants

Long constants marked as such.
parent e7f2954f
...@@ -124,13 +124,13 @@ static inline void set_pml4(pml4_t *dst, pml4_t val) ...@@ -124,13 +124,13 @@ static inline void set_pml4(pml4_t *dst, pml4_t val)
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#define VMALLOC_START 0xffffff0000000000 #define VMALLOC_START 0xffffff0000000000UL
#define VMALLOC_END 0xffffff7fffffffff #define VMALLOC_END 0xffffff7fffffffffUL
#define MODULES_VADDR 0xffffffffa0000000 #define MODULES_VADDR 0xffffffffa0000000UL
#define MODULES_END 0xffffffffafffffff #define MODULES_END 0xffffffffafffffffUL
#define MODULES_LEN (MODULES_END - MODULES_VADDR) #define MODULES_LEN (MODULES_END - MODULES_VADDR)
#define IOMAP_START 0xfffffe8000000000 #define IOMAP_START 0xfffffe8000000000UL
#define _PAGE_BIT_PRESENT 0 #define _PAGE_BIT_PRESENT 0
#define _PAGE_BIT_RW 1 #define _PAGE_BIT_RW 1
......
...@@ -166,7 +166,7 @@ static inline void clear_in_cr4 (unsigned long mask) ...@@ -166,7 +166,7 @@ static inline void clear_in_cr4 (unsigned long mask)
/* /*
* User space process size: 512GB - 1GB (default). * User space process size: 512GB - 1GB (default).
*/ */
#define TASK_SIZE (0x0000007fc0000000) #define TASK_SIZE (0x0000007fc0000000UL)
/* This decides where the kernel will search for a free chunk of vm /* This decides where the kernel will search for a free chunk of vm
* space during mmap's. * space during mmap's.
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
#define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFFFFFFFFFF) #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFFFFFFFFFFUL)
#define USER_DS MAKE_MM_SEG(PAGE_OFFSET) #define USER_DS MAKE_MM_SEG(PAGE_OFFSET)
#define get_ds() (KERNEL_DS) #define get_ds() (KERNEL_DS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment