aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2021-06-29 17:18:29 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2021-06-29 17:18:29 +0000
commit5d9f790191fe7cd003e92f8b0fa93571d885bf5e (patch)
treeb564052e7285ade9ba2999acf046124f70335ce9 /sys/sys
parent945accf502db0dd44522489857f461e29ef17d30 (diff)
downloadsrc-5d9f790191fe7cd003e92f8b0fa93571d885bf5e.tar.gz
src-5d9f790191fe7cd003e92f8b0fa93571d885bf5e.zip
Eliminate p_elf_machine from struct proc.
Instead of p_elf_machine use machine member of the Elf_Brandinfo which is now cached in the struct proc at p_elf_brandinfo member. Note to MFC: D30918, KBI Reviewed by: kib, markj Differential Revision: https://reviews.freebsd.org/D30926 MFC after: 2 weeks
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/proc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 36c07b3b5e78..19e8d76c6f99 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -700,7 +700,6 @@ struct proc {
pid_t p_reapsubtree; /* (e) Pid of the direct child of the
reaper which spawned
our subtree. */
- uint16_t p_elf_machine; /* (x) ELF machine type */
uint64_t p_elf_flags; /* (x) ELF flags */
void *p_elf_brandinfo; /* (x) Elf_Brandinfo, NULL for
non ELF binaries. */