arm64 vdso warning: fix non-void function not returning
arch_setup_vdso() needs to return something even on panic to please gcc. In theory, flagging panic() with __attribute__((noreturn)) should work just the same and is a much better solution but for some reason on older gcc versions setting the flag leads to the weak memset() symbol not being found !? Change-Id: Ifed100df5440ca24bb495817db9afc79f0ba6751
This commit is contained in:
committed by
Dominique Martinet
parent
0c79de67b4
commit
10cca81401
@ -87,6 +87,7 @@ int arch_setup_vdso(void)
|
||||
}
|
||||
|
||||
panic("Only support host mapping vDSO");
|
||||
return -1;
|
||||
}
|
||||
|
||||
static int get_free_area(struct process_vm *vm, size_t len, intptr_t hint,
|
||||
|
||||
Reference in New Issue
Block a user