Skip to content

Commit 5eeec56

Browse files
hcahcaVasily Gorbik
authored andcommitted
s390/asm-offsets: Include ftrace_regs.h instead of ftrace.h
Reduce header dependencies by including ftrace_regs.h and ptrace.h, which does not include other header files, instead of ftrace.h which pulls in various other header files. This is sufficient for __FTRACE_REGS_PT_REGS and __FTRACE_REGS_SIZE. Acked-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent d104937 commit 5eeec56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/s390/kernel/asm-offsets.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
#include <linux/sched.h>
1212
#include <linux/purgatory.h>
1313
#include <linux/pgtable.h>
14-
#include <linux/ftrace.h>
14+
#include <linux/ftrace_regs.h>
1515
#include <asm/kvm_host_types.h>
1616
#include <asm/stacktrace.h>
17+
#include <asm/ptrace.h>
1718

1819
int main(void)
1920
{

0 commit comments

Comments
 (0)