File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 126
126
** o disable IRdT - call disable_irq(vector[line]->processor_irq)
127
127
*/
128
128
129
-
130
- /* FIXME: determine which include files are really needed */
131
- #include <linux/types.h>
132
- #include <linux/kernel.h>
133
- #include <linux/spinlock.h>
134
129
#include <linux/pci.h>
135
- #include <linux/init.h>
136
- #include <linux/slab.h>
137
- #include <linux/interrupt.h>
138
130
139
- #include <asm/byteorder.h> /* get in-line asm for swab */
140
131
#include <asm/pdc.h>
141
132
#include <asm/pdcpat.h>
142
- #include <asm/page.h>
143
- #include <asm/io.h> /* read/write functions */
144
133
#ifdef CONFIG_SUPERIO
145
134
#include <asm/superio.h>
146
135
#endif
168
157
#define DBG_IRT (x ...)
169
158
#endif
170
159
171
- #ifdef CONFIG_64BIT
172
- #define COMPARE_IRTE_ADDR (irte , hpa ) ((irte)->dest_iosapic_addr == (hpa))
173
- #else
174
160
#define COMPARE_IRTE_ADDR (irte , hpa ) \
175
- ((irte)->dest_iosapic_addr == ((hpa) | 0xffffffff00000000ULL))
176
- #endif
161
+ ((irte)->dest_iosapic_addr == F_EXTEND(hpa))
177
162
178
163
#define IOSAPIC_REG_SELECT 0x00
179
164
#define IOSAPIC_REG_WINDOW 0x10
You can’t perform that action at this time.
0 commit comments