Loading arch/alpha/include/asm/Kbuild +1 −0 Original line number Original line Diff line number Diff line Loading @@ -3,6 +3,7 @@ generic-y += clkdev.h generic-y += clkdev.h generic-y += cputime.h generic-y += cputime.h generic-y += exec.h generic-y += exec.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 Loading arch/alpha/kernel/Makefile +1 −1 Original line number Original line Diff line number Diff line Loading @@ -8,7 +8,7 @@ ccflags-y := -Wno-sign-compare obj-y := entry.o traps.o process.o osf_sys.o irq.o \ obj-y := entry.o traps.o process.o osf_sys.o irq.o \ irq_alpha.o signal.o setup.o ptrace.o time.o \ irq_alpha.o signal.o setup.o ptrace.o time.o \ alpha_ksyms.o systbls.o err_common.o io.o systbls.o err_common.o io.o obj-$(CONFIG_VGA_HOSE) += console.o obj-$(CONFIG_VGA_HOSE) += console.o obj-$(CONFIG_SMP) += smp.o obj-$(CONFIG_SMP) += smp.o Loading arch/alpha/kernel/alpha_ksyms.cdeleted 100644 → 0 +0 −102 Original line number Original line Diff line number Diff line /* * linux/arch/alpha/kernel/alpha_ksyms.c * * Export the alpha-specific functions that are needed for loadable * modules. */ #include <linux/module.h> #include <asm/console.h> #include <asm/uaccess.h> #include <asm/checksum.h> #include <asm/fpu.h> #include <asm/machvec.h> #include <linux/syscalls.h> /* these are C runtime functions with special calling conventions: */ extern void __divl (void); extern void __reml (void); extern void __divq (void); extern void __remq (void); extern void __divlu (void); extern void __remlu (void); extern void __divqu (void); extern void __remqu (void); EXPORT_SYMBOL(alpha_mv); EXPORT_SYMBOL(callback_getenv); EXPORT_SYMBOL(callback_setenv); EXPORT_SYMBOL(callback_save_env); /* platform dependent support */ EXPORT_SYMBOL(strcat); EXPORT_SYMBOL(strcpy); EXPORT_SYMBOL(strlen); EXPORT_SYMBOL(strncpy); EXPORT_SYMBOL(strncat); EXPORT_SYMBOL(strchr); EXPORT_SYMBOL(strrchr); EXPORT_SYMBOL(memmove); EXPORT_SYMBOL(__memcpy); EXPORT_SYMBOL(__memset); EXPORT_SYMBOL(___memset); EXPORT_SYMBOL(__memsetw); EXPORT_SYMBOL(__constant_c_memset); EXPORT_SYMBOL(copy_page); EXPORT_SYMBOL(clear_page); EXPORT_SYMBOL(alpha_read_fp_reg); EXPORT_SYMBOL(alpha_read_fp_reg_s); EXPORT_SYMBOL(alpha_write_fp_reg); EXPORT_SYMBOL(alpha_write_fp_reg_s); /* Networking helper routines. */ EXPORT_SYMBOL(csum_tcpudp_magic); EXPORT_SYMBOL(ip_compute_csum); EXPORT_SYMBOL(ip_fast_csum); EXPORT_SYMBOL(csum_partial_copy_nocheck); EXPORT_SYMBOL(csum_partial_copy_from_user); EXPORT_SYMBOL(csum_ipv6_magic); #ifdef CONFIG_MATHEMU_MODULE extern long (*alpha_fp_emul_imprecise)(struct pt_regs *, unsigned long); extern long (*alpha_fp_emul) (unsigned long pc); EXPORT_SYMBOL(alpha_fp_emul_imprecise); EXPORT_SYMBOL(alpha_fp_emul); #endif /* * The following are specially called from the uaccess assembly stubs. */ EXPORT_SYMBOL(__copy_user); EXPORT_SYMBOL(__do_clear_user); /* * SMP-specific symbols. */ #ifdef CONFIG_SMP EXPORT_SYMBOL(_atomic_dec_and_lock); #endif /* CONFIG_SMP */ /* * The following are special because they're not called * explicitly (the C compiler or assembler generates them in * response to division operations). Fortunately, their * interface isn't gonna change any time soon now, so it's OK * to leave it out of version control. */ # undef memcpy # undef memset EXPORT_SYMBOL(__divl); EXPORT_SYMBOL(__divlu); EXPORT_SYMBOL(__divq); EXPORT_SYMBOL(__divqu); EXPORT_SYMBOL(__reml); EXPORT_SYMBOL(__remlu); EXPORT_SYMBOL(__remq); EXPORT_SYMBOL(__remqu); EXPORT_SYMBOL(memcpy); EXPORT_SYMBOL(memset); EXPORT_SYMBOL(memchr); arch/alpha/kernel/machvec_impl.h +4 −2 Original line number Original line Diff line number Diff line Loading @@ -144,9 +144,11 @@ else beforehand. Fine. We'll do it ourselves. */ else beforehand. Fine. We'll do it ourselves. */ #if 0 #if 0 #define ALIAS_MV(system) \ #define ALIAS_MV(system) \ struct alpha_machine_vector alpha_mv __attribute__((alias(#system "_mv"))); struct alpha_machine_vector alpha_mv __attribute__((alias(#system "_mv"))); \ EXPORT_SYMBOL(alpha_mv); #else #else #define ALIAS_MV(system) \ #define ALIAS_MV(system) \ asm(".global alpha_mv\nalpha_mv = " #system "_mv"); asm(".global alpha_mv\nalpha_mv = " #system "_mv"); \ EXPORT_SYMBOL(alpha_mv); #endif #endif #endif /* GENERIC */ #endif /* GENERIC */ arch/alpha/kernel/setup.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -115,6 +115,7 @@ unsigned long alpha_agpgart_size = DEFAULT_AGP_APER_SIZE; #ifdef CONFIG_ALPHA_GENERIC #ifdef CONFIG_ALPHA_GENERIC struct alpha_machine_vector alpha_mv; struct alpha_machine_vector alpha_mv; EXPORT_SYMBOL(alpha_mv); #endif #endif #ifndef alpha_using_srm #ifndef alpha_using_srm Loading Loading
arch/alpha/include/asm/Kbuild +1 −0 Original line number Original line Diff line number Diff line Loading @@ -3,6 +3,7 @@ generic-y += clkdev.h generic-y += clkdev.h generic-y += cputime.h generic-y += cputime.h generic-y += exec.h generic-y += exec.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 Loading
arch/alpha/kernel/Makefile +1 −1 Original line number Original line Diff line number Diff line Loading @@ -8,7 +8,7 @@ ccflags-y := -Wno-sign-compare obj-y := entry.o traps.o process.o osf_sys.o irq.o \ obj-y := entry.o traps.o process.o osf_sys.o irq.o \ irq_alpha.o signal.o setup.o ptrace.o time.o \ irq_alpha.o signal.o setup.o ptrace.o time.o \ alpha_ksyms.o systbls.o err_common.o io.o systbls.o err_common.o io.o obj-$(CONFIG_VGA_HOSE) += console.o obj-$(CONFIG_VGA_HOSE) += console.o obj-$(CONFIG_SMP) += smp.o obj-$(CONFIG_SMP) += smp.o Loading
arch/alpha/kernel/alpha_ksyms.cdeleted 100644 → 0 +0 −102 Original line number Original line Diff line number Diff line /* * linux/arch/alpha/kernel/alpha_ksyms.c * * Export the alpha-specific functions that are needed for loadable * modules. */ #include <linux/module.h> #include <asm/console.h> #include <asm/uaccess.h> #include <asm/checksum.h> #include <asm/fpu.h> #include <asm/machvec.h> #include <linux/syscalls.h> /* these are C runtime functions with special calling conventions: */ extern void __divl (void); extern void __reml (void); extern void __divq (void); extern void __remq (void); extern void __divlu (void); extern void __remlu (void); extern void __divqu (void); extern void __remqu (void); EXPORT_SYMBOL(alpha_mv); EXPORT_SYMBOL(callback_getenv); EXPORT_SYMBOL(callback_setenv); EXPORT_SYMBOL(callback_save_env); /* platform dependent support */ EXPORT_SYMBOL(strcat); EXPORT_SYMBOL(strcpy); EXPORT_SYMBOL(strlen); EXPORT_SYMBOL(strncpy); EXPORT_SYMBOL(strncat); EXPORT_SYMBOL(strchr); EXPORT_SYMBOL(strrchr); EXPORT_SYMBOL(memmove); EXPORT_SYMBOL(__memcpy); EXPORT_SYMBOL(__memset); EXPORT_SYMBOL(___memset); EXPORT_SYMBOL(__memsetw); EXPORT_SYMBOL(__constant_c_memset); EXPORT_SYMBOL(copy_page); EXPORT_SYMBOL(clear_page); EXPORT_SYMBOL(alpha_read_fp_reg); EXPORT_SYMBOL(alpha_read_fp_reg_s); EXPORT_SYMBOL(alpha_write_fp_reg); EXPORT_SYMBOL(alpha_write_fp_reg_s); /* Networking helper routines. */ EXPORT_SYMBOL(csum_tcpudp_magic); EXPORT_SYMBOL(ip_compute_csum); EXPORT_SYMBOL(ip_fast_csum); EXPORT_SYMBOL(csum_partial_copy_nocheck); EXPORT_SYMBOL(csum_partial_copy_from_user); EXPORT_SYMBOL(csum_ipv6_magic); #ifdef CONFIG_MATHEMU_MODULE extern long (*alpha_fp_emul_imprecise)(struct pt_regs *, unsigned long); extern long (*alpha_fp_emul) (unsigned long pc); EXPORT_SYMBOL(alpha_fp_emul_imprecise); EXPORT_SYMBOL(alpha_fp_emul); #endif /* * The following are specially called from the uaccess assembly stubs. */ EXPORT_SYMBOL(__copy_user); EXPORT_SYMBOL(__do_clear_user); /* * SMP-specific symbols. */ #ifdef CONFIG_SMP EXPORT_SYMBOL(_atomic_dec_and_lock); #endif /* CONFIG_SMP */ /* * The following are special because they're not called * explicitly (the C compiler or assembler generates them in * response to division operations). Fortunately, their * interface isn't gonna change any time soon now, so it's OK * to leave it out of version control. */ # undef memcpy # undef memset EXPORT_SYMBOL(__divl); EXPORT_SYMBOL(__divlu); EXPORT_SYMBOL(__divq); EXPORT_SYMBOL(__divqu); EXPORT_SYMBOL(__reml); EXPORT_SYMBOL(__remlu); EXPORT_SYMBOL(__remq); EXPORT_SYMBOL(__remqu); EXPORT_SYMBOL(memcpy); EXPORT_SYMBOL(memset); EXPORT_SYMBOL(memchr);
arch/alpha/kernel/machvec_impl.h +4 −2 Original line number Original line Diff line number Diff line Loading @@ -144,9 +144,11 @@ else beforehand. Fine. We'll do it ourselves. */ else beforehand. Fine. We'll do it ourselves. */ #if 0 #if 0 #define ALIAS_MV(system) \ #define ALIAS_MV(system) \ struct alpha_machine_vector alpha_mv __attribute__((alias(#system "_mv"))); struct alpha_machine_vector alpha_mv __attribute__((alias(#system "_mv"))); \ EXPORT_SYMBOL(alpha_mv); #else #else #define ALIAS_MV(system) \ #define ALIAS_MV(system) \ asm(".global alpha_mv\nalpha_mv = " #system "_mv"); asm(".global alpha_mv\nalpha_mv = " #system "_mv"); \ EXPORT_SYMBOL(alpha_mv); #endif #endif #endif /* GENERIC */ #endif /* GENERIC */
arch/alpha/kernel/setup.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -115,6 +115,7 @@ unsigned long alpha_agpgart_size = DEFAULT_AGP_APER_SIZE; #ifdef CONFIG_ALPHA_GENERIC #ifdef CONFIG_ALPHA_GENERIC struct alpha_machine_vector alpha_mv; struct alpha_machine_vector alpha_mv; EXPORT_SYMBOL(alpha_mv); #endif #endif #ifndef alpha_using_srm #ifndef alpha_using_srm Loading