forked from luck/tmp_suning_uos_patched
0a87c5cfc0
There are several s390 diagnose calls, which must be executed below the 2GB memory boundary. In order to enforce this, those diagnoses must be compiled into the kernel. Currently diag 14 can be called within the vmur kernel module from addresses above 2GB. This leads to specification exceptions. This patch moves diag10, diag14 and diag210 into the new diag.c file. Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
53 lines
1005 B
C
53 lines
1005 B
C
/*
|
|
* arch/s390/kernel/s390_ksyms.c
|
|
*
|
|
* S390 version
|
|
*/
|
|
#include <linux/highuid.h>
|
|
#include <linux/module.h>
|
|
#include <linux/mm.h>
|
|
#include <linux/smp.h>
|
|
#include <linux/syscalls.h>
|
|
#include <linux/interrupt.h>
|
|
#include <asm/checksum.h>
|
|
#include <asm/cpcmd.h>
|
|
#include <asm/delay.h>
|
|
#include <asm/pgalloc.h>
|
|
#include <asm/setup.h>
|
|
#ifdef CONFIG_IP_MULTICAST
|
|
#include <net/arp.h>
|
|
#endif
|
|
|
|
/*
|
|
* memory management
|
|
*/
|
|
EXPORT_SYMBOL(_oi_bitmap);
|
|
EXPORT_SYMBOL(_ni_bitmap);
|
|
EXPORT_SYMBOL(_zb_findmap);
|
|
EXPORT_SYMBOL(_sb_findmap);
|
|
|
|
/*
|
|
* semaphore ops
|
|
*/
|
|
EXPORT_SYMBOL(__up);
|
|
EXPORT_SYMBOL(__down);
|
|
EXPORT_SYMBOL(__down_interruptible);
|
|
|
|
/*
|
|
* binfmt_elf loader
|
|
*/
|
|
extern int dump_fpu (struct pt_regs * regs, s390_fp_regs *fpregs);
|
|
EXPORT_SYMBOL(dump_fpu);
|
|
EXPORT_SYMBOL(empty_zero_page);
|
|
|
|
/*
|
|
* misc.
|
|
*/
|
|
EXPORT_SYMBOL(machine_flags);
|
|
EXPORT_SYMBOL(__udelay);
|
|
EXPORT_SYMBOL(kernel_thread);
|
|
EXPORT_SYMBOL(csum_fold);
|
|
EXPORT_SYMBOL(console_mode);
|
|
EXPORT_SYMBOL(console_devno);
|
|
EXPORT_SYMBOL(console_irq);
|