mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-21 20:13:58 +08:00
b7bcef6f8e
Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/n/tip-wa9qstb8erbjreLxiHepzjfw@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
8 lines
87 B
C
8 lines
87 B
C
#include <libelf.h>
|
|
#
|
|
int main(void)
|
|
{
|
|
size_t dst;
|
|
return elf_getphdrnum(0, &dst);
|
|
}
|