mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 05:25:20 +07: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);
|
|
}
|