[PATCH] elf: fix kcore note size calculation
[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.

[5c1e68b099950c134891f0b6e179498a8ebe9cf9@osdl.org: simplification suggested by Roland]
Signed-off-by: Magnus Damm <9f4ca770b638615ac5c3e0d2da16b77c80c2f2c6@valinux.co.jp>
Cc: Daniel Jacobowitz <7b90f60b7fff080870315003207161181804fb15@false.org>
Cc: Roland McGrath <0d270388f2f92757a5de0f4bd891d3b392c44c4f@redhat.com>
Cc: Jakub Jelinek <1d3764b91b902f6b45836e2498da81fe35caf6d6@redhat.com>
Signed-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@osdl.org>
Signed-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@osdl.org>

KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs