X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5a0b9e8c8de29b8fc1c76d7d07a83a35864d471b..865ab25a80228157799b5466df65dcc14a45783d:/target/linux/rdc-2.6/patches/000-rdc_fixes.patch diff --git a/target/linux/rdc-2.6/patches/000-rdc_fixes.patch b/target/linux/rdc-2.6/patches/000-rdc_fixes.patch index 7d6fa3af3..148fc482b 100644 --- a/target/linux/rdc-2.6/patches/000-rdc_fixes.patch +++ b/target/linux/rdc-2.6/patches/000-rdc_fixes.patch @@ -26,23 +26,10 @@ diff -urN linux-2.6.19/arch/i386/Makefile linux-2.6.19.new/arch/i386/Makefile +# RDC subarch support +mflags-$(CONFIG_X86_RDC) := -Iinclude/asm-i386/mach-generic +mcore-$(CONFIG_X86_RDC) := mach-default -+core-$(CONFIG_X86_RDC) := arch/i386/mach-rdc/ ++core-$(CONFIG_X86_RDC) += arch/i386/mach-rdc/ # default subarch .h files mflags-y += -Iinclude/asm-i386/mach-default -diff -urN linux-2.6.19/arch/i386/kernel/time.c linux-2.6.19.new/arch/i386/kernel/time.c ---- linux-2.6.19/arch/i386/kernel/time.c 2006-11-29 22:57:37.000000000 +0100 -+++ linux-2.6.19.new/arch/i386/kernel/time.c 2006-12-17 17:13:10.000000000 +0100 -@@ -361,7 +361,8 @@ - static void __init hpet_time_init(void) - { - struct timespec ts; -- ts.tv_sec = get_cmos_time(); -+ /* RDC board does not have CMOS */ -+ ts.tv_sec = 0; - ts.tv_nsec = (INITIAL_JIFFIES % HZ) * (NSEC_PER_SEC / HZ); - - do_settimeofday(&ts); diff -urN linux-2.6.19/arch/i386/mach-rdc/Makefile linux-2.6.19.new/arch/i386/mach-rdc/Makefile --- linux-2.6.19/arch/i386/mach-rdc/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ linux-2.6.19.new/arch/i386/mach-rdc/Makefile 2006-12-17 17:13:33.000000000 +0100