elf-em.h: add EM_CSKY
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 13 Dec 2018 17:22:00 +0000 (20:22 +0300)
committerGuo Ren <ren_guo@c-sky.com>
Sun, 30 Dec 2018 13:14:07 +0000 (21:14 +0800)
commit077b930adafead095cd38600539ec129f1379d8c
treebeca046af17bea85bf3dd07c8a3c5779098c15bc
parentdc3e0896003ee9b3bcc34c53965dc4bbc8671c44
elf-em.h: add EM_CSKY

The uapi/linux/audit.h header is going to use EM_CSKY in order
to define AUDIT_ARCH_CSKY which is needed to implement
syscall_get_arch() which in turn is required to extend
the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.

The value for EM_CSKY has been taken from arch/csky/include/asm/elf.h
and confirmed by binutils:include/elf/common.h

Cc: Guo Ren <guoren@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Elvira Khabirova <lineprinter@altlinux.org>
Cc: Eugene Syromyatnikov <esyr@redhat.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Guo Ren <guoren@kernel.org>
arch/csky/include/asm/elf.h
include/uapi/linux/elf-em.h