Commit f212a548 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[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
parent 1df9a04e
...@@ -93,7 +93,7 @@ extern struct cpuinfo_x86 cpu_data[]; ...@@ -93,7 +93,7 @@ extern struct cpuinfo_x86 cpu_data[];
#define current_cpu_data boot_cpu_data #define current_cpu_data boot_cpu_data
#endif #endif
extern char ignore_irq13; extern char ignore_fpu_irq;
extern void identify_cpu(struct cpuinfo_x86 *); extern void identify_cpu(struct cpuinfo_x86 *);
extern void print_cpu_info(struct cpuinfo_x86 *); extern void print_cpu_info(struct cpuinfo_x86 *);
...@@ -257,6 +257,7 @@ static inline void clear_in_cr4 (unsigned long mask) ...@@ -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..) * Bus types (default is ISA, but people can check others with these..)
* pc98 indicates PC98 systems (CBUS)
*/ */
#ifdef CONFIG_EISA #ifdef CONFIG_EISA
extern int EISA_bus; extern int EISA_bus;
...@@ -264,6 +265,12 @@ extern int EISA_bus; ...@@ -264,6 +265,12 @@ extern int EISA_bus;
#define EISA_bus (0) #define EISA_bus (0)
#endif #endif
extern int MCA_bus; 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 /* from system description table in BIOS. Mostly for MCA use, but
others may find it useful. */ others may find it useful. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment