summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-07-09 01:01:08 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 19:33:26 +0200
commitc103a4dc4a32f53f095b66cd798d648c652f05b4 (patch)
tree4cc3cbd0007255ab708747b6a5b9c3669e1388a8 /mm/mmap.c
parentptrace/x86: flush_ptrace_hw_breakpoint() shoule clear the virtual debug regis... (diff)
downloadlinux-c103a4dc4a32f53f095b66cd798d648c652f05b4.tar.xz
linux-c103a4dc4a32f53f095b66cd798d648c652f05b4.zip
ipc/shmc.c: eliminate ugly 80-col tricks
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--mm/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 0718c175db8f..f81311173b4d 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1368,9 +1368,9 @@ SYSCALL_DEFINE6(mmap_pgoff, unsigned long, addr, unsigned long, len,
goto out_fput;
} else if (flags & MAP_HUGETLB) {
struct user_struct *user = NULL;
- struct hstate *hs = hstate_sizelog((flags >> MAP_HUGE_SHIFT) &
- SHM_HUGE_MASK);
+ struct hstate *hs;
+ hs = hstate_sizelog((flags >> MAP_HUGE_SHIFT) & SHM_HUGE_MASK);
if (!hs)
return -EINVAL;