kernel_optimize_test/include
Christoph Hellwig 34b4664ac4 binfmt_flat: use fixed size type for the on-disk format
So far binfmt_flat has only been supported on 32-bit platforms, so the
variable size of the fields didn't matter.  But the upcoming RISC-V
nommu port supports 64-bit CPUs, and we now have a conflict between
the elf2flt creation tool that always uses 32-bit fields and the kernel
that uses (unsigned) long field.  Switch to the userspace view as the
rest of the binfmt_flat format is completely architecture neutral,
and binfmt_flat isn't the right binary format for huge executables to
start with.

While we're at it also ensure these fields are using __be types as
they big endian and are byte swapped when loaded.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
2019-06-24 09:16:47 +10:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux binfmt_flat: use fixed size type for the on-disk format 2019-06-24 09:16:47 +10:00
math-emu
media
memory
misc
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-21 22:23:35 -07:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace
uapi binfmt_flat: remove the uapi <linux/flat.h> header 2019-06-24 09:16:46 +10:00
video
xen