mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
s390: move exports to definitions
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
d13ffb5630
commit
711f5df7bf
6 changed files with 14 additions and 16 deletions
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
generic-y += clkdev.h
|
generic-y += clkdev.h
|
||||||
|
generic-y += export.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
generic-y += mm-arch-hooks.h
|
generic-y += mm-arch-hooks.h
|
||||||
|
|
|
@ -58,7 +58,7 @@ obj-y += entry.o reipl.o relocate_kernel.o
|
||||||
|
|
||||||
extra-y += head.o head64.o vmlinux.lds
|
extra-y += head.o head64.o vmlinux.lds
|
||||||
|
|
||||||
obj-$(CONFIG_MODULES) += s390_ksyms.o module.o
|
obj-$(CONFIG_MODULES) += module.o
|
||||||
obj-$(CONFIG_SMP) += smp.o
|
obj-$(CONFIG_SMP) += smp.o
|
||||||
obj-$(CONFIG_SCHED_TOPOLOGY) += topology.o
|
obj-$(CONFIG_SCHED_TOPOLOGY) += topology.o
|
||||||
obj-$(CONFIG_HIBERNATION) += suspend.o swsusp.o
|
obj-$(CONFIG_HIBERNATION) += suspend.o swsusp.o
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include <asm/vx-insn.h>
|
#include <asm/vx-insn.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
#include <asm/nmi.h>
|
#include <asm/nmi.h>
|
||||||
|
#include <asm/export.h>
|
||||||
|
|
||||||
__PT_R0 = __PT_GPRS
|
__PT_R0 = __PT_GPRS
|
||||||
__PT_R1 = __PT_GPRS + 8
|
__PT_R1 = __PT_GPRS + 8
|
||||||
|
@ -259,6 +260,8 @@ sie_exit:
|
||||||
|
|
||||||
EX_TABLE(.Lrewind_pad,.Lsie_fault)
|
EX_TABLE(.Lrewind_pad,.Lsie_fault)
|
||||||
EX_TABLE(sie_exit,.Lsie_fault)
|
EX_TABLE(sie_exit,.Lsie_fault)
|
||||||
|
EXPORT_SYMBOL(sie64a)
|
||||||
|
EXPORT_SYMBOL(sie_exit)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -825,6 +828,9 @@ ENTRY(save_fpu_regs)
|
||||||
oi __LC_CPU_FLAGS+7,_CIF_FPU
|
oi __LC_CPU_FLAGS+7,_CIF_FPU
|
||||||
br %r14
|
br %r14
|
||||||
.Lsave_fpu_regs_end:
|
.Lsave_fpu_regs_end:
|
||||||
|
#if IS_ENABLED(CONFIG_KVM)
|
||||||
|
EXPORT_SYMBOL(save_fpu_regs)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Load floating-point controls and floating-point or vector registers.
|
* Load floating-point controls and floating-point or vector registers.
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/ftrace.h>
|
#include <asm/ftrace.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
#include <asm/export.h>
|
||||||
|
|
||||||
.section .kprobes.text, "ax"
|
.section .kprobes.text, "ax"
|
||||||
|
|
||||||
|
@ -23,6 +24,8 @@ ENTRY(ftrace_stub)
|
||||||
ENTRY(_mcount)
|
ENTRY(_mcount)
|
||||||
br %r14
|
br %r14
|
||||||
|
|
||||||
|
EXPORT_SYMBOL(_mcount)
|
||||||
|
|
||||||
ENTRY(ftrace_caller)
|
ENTRY(ftrace_caller)
|
||||||
.globl ftrace_regs_caller
|
.globl ftrace_regs_caller
|
||||||
.set ftrace_regs_caller,ftrace_caller
|
.set ftrace_regs_caller,ftrace_caller
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
#include <linux/module.h>
|
|
||||||
#include <linux/kvm_host.h>
|
|
||||||
#include <asm/fpu/api.h>
|
|
||||||
#include <asm/ftrace.h>
|
|
||||||
|
|
||||||
#ifdef CONFIG_FUNCTION_TRACER
|
|
||||||
EXPORT_SYMBOL(_mcount);
|
|
||||||
#endif
|
|
||||||
#if IS_ENABLED(CONFIG_KVM)
|
|
||||||
EXPORT_SYMBOL(sie64a);
|
|
||||||
EXPORT_SYMBOL(sie_exit);
|
|
||||||
EXPORT_SYMBOL(save_fpu_regs);
|
|
||||||
#endif
|
|
||||||
EXPORT_SYMBOL(memcpy);
|
|
||||||
EXPORT_SYMBOL(memset);
|
|
|
@ -5,6 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
|
#include <asm/export.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* memset implementation
|
* memset implementation
|
||||||
|
@ -60,6 +61,7 @@ ENTRY(memset)
|
||||||
xc 0(1,%r1),0(%r1)
|
xc 0(1,%r1),0(%r1)
|
||||||
.Lmemset_mvc:
|
.Lmemset_mvc:
|
||||||
mvc 1(1,%r1),0(%r1)
|
mvc 1(1,%r1),0(%r1)
|
||||||
|
EXPORT_SYMBOL(memset)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* memcpy implementation
|
* memcpy implementation
|
||||||
|
@ -86,3 +88,4 @@ ENTRY(memcpy)
|
||||||
j .Lmemcpy_rest
|
j .Lmemcpy_rest
|
||||||
.Lmemcpy_mvc:
|
.Lmemcpy_mvc:
|
||||||
mvc 0(1,%r1),0(%r3)
|
mvc 0(1,%r1),0(%r3)
|
||||||
|
EXPORT_SYMBOL(memcpy)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue