Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 15 Dec 2002 07:37:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 15 Dec 2002 07:37:48 -0500 Received: from precia.cinet.co.jp ([210.166.75.133]:27777 "EHLO precia.cinet.co.jp") by vger.kernel.org with ESMTP id ; Sun, 15 Dec 2002 07:37:47 -0500 Message-ID: <3DFC78E7.98FB3298@cinet.co.jp> Date: Sun, 15 Dec 2002 21:43:19 +0900 From: Osamu Tomita X-Mailer: Mozilla 4.8C-ja [ja/Vine] (X11; U; Linux 2.5.50-ac1-pc98smp i686) X-Accept-Language: ja MIME-Version: 1.0 To: Linux Kernel Mailing List CC: Alan Cox Subject: [PATCHSET] PC-9800 addtional for 2.5.50-ac1 (14/21) References: <3DFC50E9.656B96D0@cinet.co.jp> Content-Type: multipart/mixed; boundary="------------28283E1C681D5FAF601365DA" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2457 Lines: 86 This is a multi-part message in MIME format. --------------28283E1C681D5FAF601365DA Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit NEC PC-9800 subarchitecture support patch for 2.5.50-ac1 (14/21) This patch contains changes under kernel/*. diffstat: kernel/dma.c | 3 +++ kernel/ksyms.c | 4 ++++ kernel/timer.c | 5 +++++ 3 files changed, 12 insertions(+) Regards, Osamu Tomita --------------28283E1C681D5FAF601365DA Content-Type: text/plain; charset=iso-2022-jp; name="kernel.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kernel.patch" diff -urN linux/kernel/dma.c linux98/kernel/dma.c --- linux/kernel/dma.c Sun Aug 11 10:41:22 2002 +++ linux98/kernel/dma.c Wed Aug 21 09:53:59 2002 @@ -9,6 +9,7 @@ * [It also happened to remove the sizeof(char *) == sizeof(int) * assumption introduced because of those /proc/dma patches. -- Hennus] */ +#include #include #include #include @@ -62,10 +63,12 @@ { 0, 0 }, { 0, 0 }, { 0, 0 }, +#ifndef CONFIG_PC9800 { 1, "cascade" }, { 0, 0 }, { 0, 0 }, { 0, 0 } +#endif }; diff -urN linux/kernel/ksyms.c linux98/kernel/ksyms.c --- linux/kernel/ksyms.c 2002-12-10 09:17:59.000000000 +0900 +++ linux98/kernel/ksyms.c 2002-12-10 10:37:55.000000000 +0900 @@ -604,6 +604,10 @@ EXPORT_SYMBOL(__per_cpu_offset); #endif +/* Whether PC-9800 architecture or not No:0 Yes:1 */ +int pc98 = 0; +EXPORT_SYMBOL(pc98); + /* debug */ EXPORT_SYMBOL(dump_stack); diff -urN linux/kernel/timer.c linux98/kernel/timer.c --- linux/kernel/timer.c Mon Nov 18 13:29:29 2002 +++ linux98/kernel/timer.c Tue Nov 19 10:57:26 2002 @@ -433,8 +433,13 @@ /* * Timekeeping variables */ +#ifndef CONFIG_PC9800 unsigned long tick_usec = TICK_USEC; /* ACTHZ period (usec) */ unsigned long tick_nsec = TICK_NSEC(TICK_USEC); /* USER_HZ period (nsec) */ +#else +extern unsigned long tick_usec; /* ACTHZ period (usec) */ +extern unsigned long tick_nsec; /* USER_HZ period (nsec) */ +#endif /* The current time */ struct timespec xtime __attribute__ ((aligned (16))); --------------28283E1C681D5FAF601365DA-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/