Commit 8c117469 authored by Henning Schild's avatar Henning Schild Committed by Philippe Gerum
Browse files

x86/ipipe: fix function name macro collision



do not include asm/hw_irq.h in asm/desc.h anymore, may cause function/
macro collision on "set_fs" in early printk-code
Signed-off-by: Henning Schild's avatarHenning Schild <henning.schild@siemens.com>
parent 1e529776
......@@ -4,7 +4,6 @@
#include <asm/desc_defs.h>
#include <asm/ldt.h>
#include <asm/mmu.h>
#include <asm/hw_irq.h>
#include <linux/smp.h>
#include <linux/percpu.h>
......@@ -380,6 +379,10 @@ extern int first_system_vector;
/* used_vectors is BITMAP for irq is not managed by percpu vector_irq */
extern unsigned long used_vectors[];
#ifdef CONFIG_IPIPE
extern int vector_irq[NR_VECTORS];
#endif
static inline void alloc_system_vector(int vector)
{
if (!test_bit(vector, used_vectors)) {
......
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