Commit 2227534a authored by James Bottomley's avatar James Bottomley

[arch-split]

more clean ups of where irq_vectors.h resides (place it in machine
specific directory)

also tidy up hyperthreading define
parent 88f363ab
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#include <asm/errno.h> #include <asm/errno.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/smp.h> #include <asm/smp.h>
#include <asm/irq_vectors.h> #include "irq_vectors.h"
EBX = 0x00 EBX = 0x00
ECX = 0x04 ECX = 0x04
......
...@@ -142,7 +142,7 @@ create_elf_tables(char *p, int argc, int envc, ...@@ -142,7 +142,7 @@ create_elf_tables(char *p, int argc, int envc,
} else } else
u_platform = p; u_platform = p;
#if defined(__i386__) && defined(CONFIG_SMP) #ifdef CONFIG_X86_HT
/* /*
* In some cases (e.g. Hyper-Threading), we want to avoid L1 evictions * In some cases (e.g. Hyper-Threading), we want to avoid L1 evictions
* by the processes running on the same package. One thing we can do * by the processes running on the same package. One thing we can do
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
#include <linux/config.h> #include <linux/config.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <asm/irq_vectors.h> /* include comes from machine specific directory */
#include "irq_vectors.h"
static __inline__ int irq_cannonicalize(int irq) static __inline__ int irq_cannonicalize(int irq)
{ {
......
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