summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-06-07 10:07:50 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-06-17 18:15:53 +1000
commitb1495fdf92c408ac8b6941f7ad61884bfc6cdd31 (patch)
treeeb83e13317ec2e768e1b035a7d8364fd770a30bf /fs/proc
parent90d9f3d609d467e437e6bf62028bbf1044147c46 (diff)
vmcore-allow-user-process-to-remap-elf-note-segment-buffer-fix
use the conventional comment layout format Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> Cc: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Lisa Mitchell <lisa.mitchell@hp.com> Cc: Vivek Goyal <vgoyal@redhat.com> Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/vmcore.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c
index dbf91c2138cf..1082492e02fc 100644
--- a/fs/proc/vmcore.c
+++ b/fs/proc/vmcore.c
@@ -386,8 +386,10 @@ static int __init merge_note_headers_elf64(char *elfptr, size_t *elfsz,
if (!*notes_buf)
return -ENOMEM;
- /* Allow users to remap ELF note segment buffer on vmalloc
- * memory using remap_vmalloc_range. */
+ /*
+ * Allow users to remap ELF note segment buffer on vmalloc memory using
+ * remap_vmalloc_range.()
+ */
vm = find_vm_area(*notes_buf);
BUG_ON(!vm);
vm->flags |= VM_USERMAP;
@@ -572,8 +574,10 @@ static int __init merge_note_headers_elf32(char *elfptr, size_t *elfsz,
if (!*notes_buf)
return -ENOMEM;
- /* Allow users to remap ELF note segment buffer on vmalloc
- * memory using remap_vmalloc_range. */
+ /*
+ * Allow users to remap ELF note segment buffer on vmalloc memory using
+ * remap_vmalloc_range()
+ */
vm = find_vm_area(*notes_buf);
BUG_ON(!vm);
vm->flags |= VM_USERMAP;