mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Osamu Tomita <tomita@cinet.co.jp>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (5/20) core update
Date: Sun, 9 Mar 2003 13:17:22 +0900	[thread overview]
Message-ID: <20030309041722.GF1231@yuzuki.cinet.co.jp> (raw)
In-Reply-To: <20030309035245.GA1231@yuzuki.cinet.co.jp>

This is the patch to support NEC PC-9800 subarchitecture
against 2.5.64-ac3. (5/20)

Updates core patches for PC98.
 - topology.c: remove NUMA code.
 - setup_arch_pre.h: change tick_usec, tick_nsec to extern.

Regards,
Osamu Tomita


diff -Nru linux-2.5.64-ac1/arch/i386/mach-pc9800/topology.c linux98-2.5.64/arch/i386/mach-pc9800/topology.c
--- linux-2.5.64-ac1/arch/i386/mach-pc9800/topology.c	2003-03-07 08:51:59.000000000 +0900
+++ linux98-2.5.64/arch/i386/mach-pc9800/topology.c	2003-03-05 13:24:31.000000000 +0900
@@ -1,5 +1,5 @@
 /*
- * arch/i386/mach-generic/topology.c - Populate driverfs with topology information
+ * arch/i386/mach-pc9800/topology.c - Populate driverfs with topology information
  *
  * Written by: Matthew Dobson, IBM Corporation
  * Original Code: Paul Dorwin, IBM Corporation, Patrick Mochel, OSDL
@@ -23,7 +23,8 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * Send feedback to <colpatch@us.ibm.com>
+ * Modify for PC-9800 by Osamu Tomita <tomita@cinet.co.jp>
+ *
  */
 #include <linux/init.h>
 #include <linux/smp.h>
@@ -31,29 +32,6 @@
 
 struct i386_cpu cpu_devices[NR_CPUS];
 
-#ifdef CONFIG_NUMA
-#include <linux/mmzone.h>
-#include <asm/node.h>
-#include <asm/memblk.h>
-
-struct i386_node node_devices[MAX_NUMNODES];
-struct i386_memblk memblk_devices[MAX_NR_MEMBLKS];
-
-static int __init topology_init(void)
-{
-	int i;
-
-	for (i = 0; i < num_online_nodes(); i++)
-		arch_register_node(i);
-	for (i = 0; i < NR_CPUS; i++)
-		if (cpu_possible(i)) arch_register_cpu(i);
-	for (i = 0; i < num_online_memblks(); i++)
-		arch_register_memblk(i);
-	return 0;
-}
-
-#else /* !CONFIG_NUMA */
-
 static int __init topology_init(void)
 {
 	int i;
@@ -63,6 +41,4 @@
 	return 0;
 }
 
-#endif /* CONFIG_NUMA */
-
 subsys_initcall(topology_init);
diff -Nru linux-2.5.64-ac1/include/asm-i386/mach-pc9800/setup_arch_pre.h linux98-2.5.64/include/asm-i386/mach-pc9800/setup_arch_pre.h
--- linux-2.5.64-ac1/include/asm-i386/mach-pc9800/setup_arch_pre.h	2003-03-07 08:52:10.000000000 +0900
+++ linux98-2.5.64/include/asm-i386/mach-pc9800/setup_arch_pre.h	2003-03-05 16:32:02.000000000 +0900
@@ -10,8 +10,8 @@
 #include <asm/pc9800_sca.h>
 
 int CLOCK_TICK_RATE;
-unsigned long tick_usec;	/* ACTHZ          period (usec) */
-unsigned long tick_nsec;	/* USER_HZ period (nsec) */
+extern unsigned long tick_usec;	/* ACTHZ          period (usec) */
+extern unsigned long tick_nsec;	/* USER_HZ period (nsec) */
 unsigned char pc9800_misc_flags;
 /* (bit 0) 1:High Address Video ram exists 0:otherwise */
 

  parent reply	other threads:[~2003-03-09  4:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-09  3:52 [PATCH] PC-9800 subarch. support for 2.5.64-ac3 Osamu Tomita
2003-03-09  4:12 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (1/20) boot98 update Osamu Tomita
2003-03-09  4:13 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (2/20) char dev update Osamu Tomita
2003-03-09  4:14 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (3/20) console Osamu Tomita
2003-03-09  4:16 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (4/20) misc core Osamu Tomita
2003-03-09  4:17 ` Osamu Tomita [this message]
2003-03-09  4:18 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (6/20) DMA Osamu Tomita
2003-03-09  4:19 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (7/20) IDE Osamu Tomita
2003-03-09  4:20 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (8/20) input update Osamu Tomita
2003-03-09  4:22 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (9/20) kanji Osamu Tomita
2003-03-09  4:23 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (10/20) kconfig Osamu Tomita
2003-03-09  4:25 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (11/20) NIC Osamu Tomita
2003-03-09  7:15   ` Paul Gortmaker
2003-03-09  9:07     ` Osamu Tomita
2003-03-09  4:26 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (12/20) parport Osamu Tomita
2003-03-09  4:27 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (13/20) PCI Osamu Tomita
2003-03-09  4:28 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (14/20) PCMCIA Osamu Tomita
2003-03-09  4:31 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (15/20) RTC Osamu Tomita
2003-03-09  4:34 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (16/20) SCSI Osamu Tomita
2003-03-12 11:49   ` Geert Uytterhoeven
2003-03-21  7:43     ` Osamu Tomita
2003-03-09  4:35 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (17/20) serial Osamu Tomita
2003-03-09  4:36 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (18/20) setup resources Osamu Tomita
2003-03-09  4:40 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (19/20) SMP Osamu Tomita
2003-03-09  4:42 ` [PATCH] PC-9800 subarch. support for 2.5.64-ac3 (20/20) timer Osamu Tomita

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030309041722.GF1231@yuzuki.cinet.co.jp \
    --to=tomita@cinet.co.jp \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®