From f212a548a8d378ab5ba3fda265ba3624c670ab72 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 17 Apr 2003 02:29:58 -0700 Subject: [PATCH] [PATCH] generalise fpu_irq also add pc98 for x86 code The idea is to move more to if(pc98) so that we can attempt to get all the ports buildable as one "generic" port in time. I don't think its p possible for PC9800 but no need to dig holes --- include/asm-i386/processor.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 02afcad412158..bc47e152108dd 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h @@ -93,7 +93,7 @@ extern struct cpuinfo_x86 cpu_data[]; #define current_cpu_data boot_cpu_data #endif -extern char ignore_irq13; +extern char ignore_fpu_irq; extern void identify_cpu(struct cpuinfo_x86 *); extern void print_cpu_info(struct cpuinfo_x86 *); @@ -257,6 +257,7 @@ static inline void clear_in_cr4 (unsigned long mask) /* * Bus types (default is ISA, but people can check others with these..) + * pc98 indicates PC98 systems (CBUS) */ #ifdef CONFIG_EISA extern int EISA_bus; @@ -264,6 +265,12 @@ extern int EISA_bus; #define EISA_bus (0) #endif extern int MCA_bus; +#ifdef CONFIG_X86_PC9800 +#define pc98 1 +#else +#define pc98 0 +#endif + /* from system description table in BIOS. Mostly for MCA use, but others may find it useful. */ -- 2.53.0