Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5bafb671e20d2a3721589378681326197fc37a5f Commit: 5bafb671e20d2a3721589378681326197fc37a5f Parent: 6ec875666d826dc6ea228afc9f6b644165081ab5 Author: Thomas Gleixner <[EMAIL PROTECTED]> AuthorDate: Wed Jan 30 13:30:09 2008 +0100 Committer: Ingo Molnar <[EMAIL PROTECTED]> CommitDate: Wed Jan 30 13:30:09 2008 +0100
x86: clean up arch/x86/ia32/mmap32.c White space and coding style clenaup. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> --- arch/x86/ia32/mmap32.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/ia32/mmap32.c b/arch/x86/ia32/mmap32.c index e4b84b4..7649370 100644 --- a/arch/x86/ia32/mmap32.c +++ b/arch/x86/ia32/mmap32.c @@ -36,8 +36,8 @@ * * Leave an at least ~128 MB hole. */ -#define MIN_GAP (128*1024*1024) -#define MAX_GAP (TASK_SIZE/6*5) +#define MIN_GAP (128 * 1024 * 1024) +#define MAX_GAP (TASK_SIZE / 6 * 5) 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; if (current->flags & PF_RANDOMIZE) - random_factor = get_random_int() % (1024*1024); + random_factor = get_random_int() % (1024 * 1024); if (gap < MIN_GAP) gap = MIN_GAP; @@ -66,8 +66,8 @@ void ia32_pick_mmap_layout(struct mm_struct *mm) * bit is set, or if the expected stack growth is unlimited: */ if (sysctl_legacy_va_layout || - (current->personality & ADDR_COMPAT_LAYOUT) || - current->signal->rlim[RLIMIT_STACK].rlim_cur == RLIM_INFINITY) { + (current->personality & ADDR_COMPAT_LAYOUT) || + current->signal->rlim[RLIMIT_STACK].rlim_cur == RLIM_INFINITY) { mm->mmap_base = TASK_UNMAPPED_BASE; mm->get_unmapped_area = arch_get_unmapped_area; mm->unmap_area = arch_unmap_area; - 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