diff options
author | Magnus Damm <magnus@valinux.co.jp> | 2006-12-07 04:38:00 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 16:39:38 (GMT) |
commit | 360276042d7a8369ce912acff99c1c4de394b312 (patch) | |
tree | e2773d559555f2a3af10587c65f9dfdbd08e8c09 /fs/reiserfs | |
parent | 584236ac7cdddeec0fdff25d2e475471ef91d028 (diff) | |
download | linux-fsl-qoriq-360276042d7a8369ce912acff99c1c4de394b312.tar.xz |
[PATCH] elf: fix kcore note size calculation
- Define "CORE" string as CORE_STR in single common place.
- Include terminating zero in CORE_STR length calculation for elf_buflen.
- Use roundup(,4) to include alignment in elf_buflen calculation.
[akpm@osdl.org: simplification suggested by Roland]
Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Cc: Daniel Jacobowitz <drow@false.org>
Cc: Roland McGrath <roland@redhat.com>
Cc: Jakub Jelinek <jakub@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions