[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>
This commit is contained in:
committed by
Linus Torvalds
parent
b6174df5ee
commit
1aeb21d626
@@ -459,6 +459,7 @@ static int create_elf_fdpic_tables(struct linux_binprm *bprm,
|
|||||||
*/
|
*/
|
||||||
hwcap = ELF_HWCAP;
|
hwcap = ELF_HWCAP;
|
||||||
k_platform = ELF_PLATFORM;
|
k_platform = ELF_PLATFORM;
|
||||||
|
u_platform = NULL;
|
||||||
|
|
||||||
if (k_platform) {
|
if (k_platform) {
|
||||||
platform_len = strlen(k_platform) + 1;
|
platform_len = strlen(k_platform) + 1;
|
||||||
|
Reference in New Issue
Block a user