summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-07-10 13:44:50 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-10 22:24:21 +0200
commit1aeb21d626327ee909fef03f72aea6e8a60e6c0c (patch)
tree7494b2caa2bb7d9f20d0a00a0bdb35c3c396dc51 /fs/binfmt_elf_fdpic.c
parent[PATCH] mmap zero-length hugetlb file with PROT_NONE to protect a hugetlb vir... (diff)
downloadlinux-1aeb21d626327ee909fef03f72aea6e8a60e6c0c.tar.xz
linux-1aeb21d626327ee909fef03f72aea6e8a60e6c0c.zip
[PATCH] FDPIC: Fix FDPIC compile errors
Fix FDPIC compile errors. (akpm: we suspect it fixes a warning) Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r--fs/binfmt_elf_fdpic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index eba4e23b9ca0..07624b95aee6 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -459,6 +459,7 @@ static int create_elf_fdpic_tables(struct linux_binprm *bprm,
*/
hwcap = ELF_HWCAP;
k_platform = ELF_PLATFORM;
+ u_platform = NULL;
if (k_platform) {
platform_len = strlen(k_platform) + 1;