diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-07-09 01:01:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 19:33:26 +0200 |
commit | c103a4dc4a32f53f095b66cd798d648c652f05b4 (patch) | |
tree | 4cc3cbd0007255ab708747b6a5b9c3669e1388a8 /ipc | |
parent | ptrace/x86: flush_ptrace_hw_breakpoint() shoule clear the virtual debug regis... (diff) | |
download | linux-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 'ipc')
-rw-r--r-- | ipc/shm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/shm.c b/ipc/shm.c index 7e199fa1960f..85dc001634b1 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -491,10 +491,10 @@ static int newseg(struct ipc_namespace *ns, struct ipc_params *params) sprintf (name, "SYSV%08x", key); if (shmflg & SHM_HUGETLB) { - struct hstate *hs = hstate_sizelog((shmflg >> SHM_HUGE_SHIFT) - & SHM_HUGE_MASK); + struct hstate *hs; size_t hugesize; + hs = hstate_sizelog((shmflg >> SHM_HUGE_SHIFT) & SHM_HUGE_MASK); if (!hs) { error = -EINVAL; goto no_file; |