⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modules.patch

📁 linux交叉编译环境个软件和内核的补丁。
💻 PATCH
字号:
++ cat /tmp/mp+ diff -u linux-2.2.13/arch/ppc/8xx_io/commproc.h.ORIG linux-2.2.13/arch/ppc/8xx_io/commproc.h--- linux-2.2.13/arch/ppc/8xx_io/commproc.h.ORIG	Sat Oct 23 01:14:48 1999+++ linux-2.2.13/arch/ppc/8xx_io/commproc.h	Thu Jan 20 16:40:20 2000@@ -685,6 +850,7 @@ #define	CPMVEC_ERROR		((ushort)0x00)  extern void cpm_install_handler(int vec, void (*handler)(void *), void *dev_id);+extern void cpm_free_handler(int vec);  /* CPM interrupt configuration vector. */+ diff -u linux-2.2.13/arch/ppc/kernel/ppc_ksyms.c.ORIG linux-2.2.13/arch/ppc/kernel/ppc_ksyms.c--- linux-2.2.13/arch/ppc/kernel/ppc_ksyms.c.ORIG	Tue Oct 19 22:23:16 1999+++ linux-2.2.13/arch/ppc/kernel/ppc_ksyms.c	Thu Jan 20 15:41:48 2000@@ -69,14 +69,18 @@ EXPORT_SYMBOL(ppc_local_irq_count); EXPORT_SYMBOL(ppc_local_bh_count); +#ifndef	CONFIG_8xx EXPORT_SYMBOL(isa_io_base); EXPORT_SYMBOL(isa_mem_base); EXPORT_SYMBOL(pci_dram_offset);+#endif	/* CONFIG_8xx */ EXPORT_SYMBOL(ISA_DMA_THRESHOLD); EXPORT_SYMBOL(DMA_MODE_READ); EXPORT_SYMBOL(DMA_MODE_WRITE);+#ifndef	CONFIG_8xx EXPORT_SYMBOL(_prep_type); EXPORT_SYMBOL(ucSystemType);+#endif	/* CONFIG_8xx */  EXPORT_SYMBOL(atomic_add); EXPORT_SYMBOL(atomic_sub);@@ -181,18 +185,21 @@ EXPORT_SYMBOL(_machine); EXPORT_SYMBOL(ppc_md); +#ifndef	CONFIG_8xx EXPORT_SYMBOL(adb_request); EXPORT_SYMBOL(adb_register); EXPORT_SYMBOL(cuda_request); EXPORT_SYMBOL(cuda_poll); EXPORT_SYMBOL(pmu_request); EXPORT_SYMBOL(pmu_poll);+#endif	/* CONFIG_8xx */ #ifdef CONFIG_PMAC_PBOOK EXPORT_SYMBOL(pmu_register_sleep_notifier); EXPORT_SYMBOL(pmu_unregister_sleep_notifier); EXPORT_SYMBOL(pmu_enable_irled);-#endif CONFIG_PMAC_PBOOK+#endif	/* CONFIG_PMAC_PBOOK */ EXPORT_SYMBOL(abort);+#ifndef	CONFIG_8xx EXPORT_SYMBOL(find_devices); EXPORT_SYMBOL(find_type_devices); EXPORT_SYMBOL(find_compatible_devices);@@ -204,9 +211,10 @@ EXPORT_SYMBOL(feature_set); EXPORT_SYMBOL(feature_clear); EXPORT_SYMBOL(feature_test);+#endif	/* CONFIG_8xx */ #ifdef CONFIG_SCSI EXPORT_SYMBOL(note_scsi_host);-#endif+#endif	/* CONFIG_SCSI */ EXPORT_SYMBOL(kd_mksound); #ifdef CONFIG_PMAC EXPORT_SYMBOL(nvram_read_byte);@@ -214,7 +222,9 @@ #endif /* CONFIG_PMAC */  EXPORT_SYMBOL(abs);+#ifndef	CONFIG_8xx EXPORT_SYMBOL(device_is_compatible);+#endif	/* CONFIG_8xx */  EXPORT_SYMBOL_NOVERS(__ashrdi3); EXPORT_SYMBOL_NOVERS(__lshrdi3);+ diff -u linux-2.2.13/drivers/macintosh/Makefile.ORIG linux-2.2.13/drivers/macintosh/Makefile--- linux-2.2.13/drivers/macintosh/Makefile.ORIG	Tue Oct 19 22:41:02 1999+++ linux-2.2.13/drivers/macintosh/Makefile	Thu Jan 20 15:41:49 2000@@ -15,7 +15,7 @@ L_TARGET := macintosh.a M_OBJS   := -ifndef CONFIG_MBX+ifndef CONFIG_8xx L_OBJS   := via-cuda.o macio-adb.o via-pmu.o mediabay.o LX_OBJS  := adb.o endif+ diff -u linux-2.2.13/include/linux/sched.h.ORIG linux-2.2.13/include/linux/sched.h--- linux-2.2.13/include/linux/sched.h.ORIG	Mon Jan 17 16:04:13 2000+++ linux-2.2.13/include/linux/sched.h	Thu Jan 20 16:38:57 2000@@ -559,7 +559,11 @@ 		: on_sig_stack(sp) ? SS_ONSTACK : 0); } +#ifdef	CONFIG_8xx+extern int request_8xxirq(unsigned int irq,+#else extern int request_irq(unsigned int irq,+#endif 		       void (*handler)(int, void *, struct pt_regs *), 		       unsigned long flags,  		       const char *device,+ diff -u linux-2.2.13/kernel/ksyms.c.ORIG linux-2.2.13/kernel/ksyms.c--- linux-2.2.13/kernel/ksyms.c.ORIG	Tue Oct 19 23:36:14 1999+++ linux-2.2.13/kernel/ksyms.c	Thu Jan 20 16:47:36 2000@@ -47,6 +47,10 @@ #include <linux/kmod.h> #endif +#ifdef	CONFIG_8xx+#include "../arch/ppc/8xx_io/commproc.h"+#endif+ extern char *get_options(char *str, int *ints); extern void set_device_ro(kdev_t dev,int flag); extern struct file_operations * get_blkfops(unsigned int);@@ -275,7 +279,13 @@ EXPORT_SYMBOL(proc_dointvec_minmax);  /* interrupt handling */+#ifdef	CONFIG_8xx+EXPORT_SYMBOL(request_8xxirq);+EXPORT_SYMBOL(cpm_install_handler);+EXPORT_SYMBOL(cpm_free_handler);+#else EXPORT_SYMBOL(request_irq);+#endif	/* CONFIG_8xx */ EXPORT_SYMBOL(free_irq); EXPORT_SYMBOL(probe_irq_on); EXPORT_SYMBOL(probe_irq_off);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -