diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1998-10-18 22:55:34 +0000 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1998-10-18 22:55:34 +0000 |
commit | 4ef3c00a0b07825cb82666f685d264d0c191ad4c (patch) | |
tree | 3c7a2dd613a891235707bbfa6b42628996e8e679 /arch/mips/sgi/kernel/system.c | |
parent | 572d2507014a7b8b9b26d92085b448b755c17dbf (diff) |
fixed old bug uncovered by recently changes
Diffstat (limited to 'arch/mips/sgi/kernel/system.c')
-rw-r--r-- | arch/mips/sgi/kernel/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi/kernel/system.c b/arch/mips/sgi/kernel/system.c index 2a97ff0ec..d6b02c4c1 100644 --- a/arch/mips/sgi/kernel/system.c +++ b/arch/mips/sgi/kernel/system.c @@ -3,7 +3,7 @@ * * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) * - * $Id: system.c,v 1.5 1998/04/05 11:24:00 ralf Exp $ + * $Id: system.c,v 1.6 1998/10/18 13:51:49 tsbogend Exp $ */ #include <linux/init.h> #include <linux/kernel.h> @@ -41,7 +41,7 @@ __initfunc(static int string_to_cpu(char *s)) for(i = 0; i < NUM_CPUS; i++) { if(!strcmp(s, sgi_cputable[i].name)) - return sgi_mtable[i].type; + return sgi_cputable[i].type; } prom_printf("\nYeee, could not determine MIPS cpu type <%s>\n", s); prom_printf("press a key to reboot\n"); |