patch-2.4.4 linux/arch/arm/kernel/armksyms.c
Next file: linux/arch/arm/kernel/arthur.c
Previous file: linux/arch/arm/kernel/arch.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Thu Apr 12 12:20:31 2001
- Orig file:
v2.4.3/linux/arch/arm/kernel/armksyms.c
- Orig date:
Mon Sep 18 15:15:24 2000
diff -u --recursive --new-file v2.4.3/linux/arch/arm/kernel/armksyms.c linux/arch/arm/kernel/armksyms.c
@@ -48,7 +48,6 @@
extern int sys_read(int, char *, int);
extern int sys_lseek(int, off_t, int);
extern int sys_exit(int);
-extern int sys_wait4(int, int *, int, struct rusage *);
/*
* libgcc functions - functions that are used internally by the
@@ -77,15 +76,18 @@
extern void fpundefinstr(void);
extern void fp_enter(void);
-#define EXPORT_SYMBOL_ALIAS(sym,orig) \
- const char __kstrtab_##sym##[] __attribute__((section(".kstrtab"))) = \
- __MODULE_STRING(##sym##); \
- const struct module_symbol __ksymtab_##sym __attribute__((section("__ksymtab"))) = \
+#define EXPORT_SYMBOL_ALIAS(sym,orig) \
+ const char __kstrtab_##sym##[] \
+ __attribute__((section(".kstrtab"))) = \
+ __MODULE_STRING(sym); \
+ const struct module_symbol __ksymtab_##sym \
+ __attribute__((section("__ksymtab"))) = \
{ (unsigned long)&##orig, __kstrtab_##sym };
- /*
- * floating point math emulator support.
- * These symbols will never change their calling convention...
- */
+
+/*
+ * floating point math emulator support.
+ * These symbols will never change their calling convention...
+ */
EXPORT_SYMBOL_ALIAS(kern_fp_enter,fp_enter);
EXPORT_SYMBOL_ALIAS(fp_printk,printk);
EXPORT_SYMBOL_ALIAS(fp_send_sig,send_sig);
@@ -95,7 +97,9 @@
EXPORT_SYMBOL(ret_from_exception);
#endif
+#ifdef CONFIG_VT
EXPORT_SYMBOL(kd_mksound);
+#endif
/* platform dependent support */
EXPORT_SYMBOL(dump_thread);
@@ -150,8 +154,6 @@
#ifndef CONFIG_NO_PGT_CACHE
EXPORT_SYMBOL(quicklists);
#endif
-EXPORT_SYMBOL(__handle_bad_pmd);
-EXPORT_SYMBOL(__handle_bad_pmd_kernel);
/* string / mem functions */
EXPORT_SYMBOL_NOVERS(strcpy);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)