121b32a58a
For the 32-bit syscall interface, 64-bit arguments (loff_t) are passed via a pair of 32-bit registers. These register pairs end up in consecutive stack slots, which matches the C ABI for 64-bit arguments. But when accessing the registers directly from pt_regs, the wrapper needs to manually reassemble the 64-bit value. These wrappers already exist for 32-bit compat, so make them available to 32-bit native in preparation for enabling pt_regs-based syscalls. Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net> Link: https://lkml.kernel.org/r/20200313195144.164260-16-brgerst@gmail.com
12 lines
272 B
Makefile
12 lines
272 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for the ia32 kernel emulation subsystem.
|
|
#
|
|
|
|
obj-$(CONFIG_IA32_EMULATION) := ia32_signal.o
|
|
|
|
obj-$(CONFIG_IA32_AOUT) += ia32_aout.o
|
|
|
|
audit-class-$(CONFIG_AUDIT) := audit.o
|
|
obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y)
|