mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 18:30:54 +07:00
edea138584
Tidy kern_util.h. It turns out that most of the function declarations aren't used, so they can go away. os.h no longer includes kern_util.h, so files which got it through os.h now need to include it directly. A number of other files never needed it, so these includes are deleted. The structure which was used to pass signal handlers from the kernel side to the userspace side is gone. Instead, the handlers are declared here, and used directly from libc code. This allows arch/um/os-Linux/trap.c to be deleted, with its remnants being moved to arch/um/os-Linux/skas/trap.c. arch/um/os-Linux/tty.c had its inclusions changed, and it needed some style attention, so it got tidied. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
24 lines
783 B
Makefile
24 lines
783 B
Makefile
#
|
|
# Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
# Licensed under the GPL
|
|
#
|
|
|
|
obj-y = aio.o elf_aux.o execvp.o file.o helper.o irq.o main.o mem.o process.o \
|
|
registers.o sigio.o signal.o start_up.o time.o tty.o uaccess.o \
|
|
umid.o tls.o user_syms.o util.o drivers/ sys-$(SUBARCH)/ skas/
|
|
|
|
obj-$(CONFIG_TTY_LOG) += tty_log.o
|
|
user-objs-$(CONFIG_TTY_LOG) += tty_log.o
|
|
|
|
USER_OBJS := $(user-objs-y) aio.o elf_aux.o execvp.o file.o helper.o irq.o \
|
|
main.o mem.o process.o registers.o sigio.o signal.o start_up.o time.o \
|
|
tty.o tls.o uaccess.o umid.o util.o
|
|
|
|
CFLAGS_user_syms.o += -DSUBARCH_$(SUBARCH)
|
|
|
|
HAVE_AIO_ABI := $(shell [ -r /usr/include/linux/aio_abi.h ] && \
|
|
echo -DHAVE_AIO_ABI )
|
|
CFLAGS_aio.o += $(HAVE_AIO_ABI)
|
|
|
|
include arch/um/scripts/Makefile.rules
|