x86: clean up arch/x86/ia32/mmap32.c

White space and coding style clenaup.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Thomas Gleixner 2008-01-30 13:30:09 +01:00 committed by Ingo Molnar
parent 6ec875666d
commit 5bafb671e2

View file

@ -36,8 +36,8 @@
* *
* Leave an at least ~128 MB hole. * Leave an at least ~128 MB hole.
*/ */
#define MIN_GAP (128*1024*1024) #define MIN_GAP (128 * 1024 * 1024)
#define MAX_GAP (TASK_SIZE/6*5) #define MAX_GAP (TASK_SIZE / 6 * 5)
static inline unsigned long mmap_base(struct mm_struct *mm) static inline unsigned long mmap_base(struct mm_struct *mm)
{ {
@ -45,7 +45,7 @@ static inline unsigned long mmap_base(struct mm_struct *mm)
unsigned long random_factor = 0; unsigned long random_factor = 0;
if (current->flags & PF_RANDOMIZE) if (current->flags & PF_RANDOMIZE)
random_factor = get_random_int() % (1024*1024); random_factor = get_random_int() % (1024 * 1024);
if (gap < MIN_GAP) if (gap < MIN_GAP)
gap = MIN_GAP; gap = MIN_GAP;