|
@@ -122,14 +122,16 @@ void release_fiq(struct fiq_handler *f)
|
|
|
while (current_fiq->fiq_op(current_fiq->dev_id, 0));
|
|
|
}
|
|
|
|
|
|
+static int fiq_start;
|
|
|
+
|
|
|
void enable_fiq(int fiq)
|
|
|
{
|
|
|
- enable_irq(fiq + FIQ_START);
|
|
|
+ enable_irq(fiq + fiq_start);
|
|
|
}
|
|
|
|
|
|
void disable_fiq(int fiq)
|
|
|
{
|
|
|
- disable_irq(fiq + FIQ_START);
|
|
|
+ disable_irq(fiq + fiq_start);
|
|
|
}
|
|
|
|
|
|
EXPORT_SYMBOL(set_fiq_handler);
|
|
@@ -140,7 +142,8 @@ EXPORT_SYMBOL(release_fiq);
|
|
|
EXPORT_SYMBOL(enable_fiq);
|
|
|
EXPORT_SYMBOL(disable_fiq);
|
|
|
|
|
|
-void __init init_FIQ(void)
|
|
|
+void __init init_FIQ(int start)
|
|
|
{
|
|
|
no_fiq_insn = *(unsigned long *)0xffff001c;
|
|
|
+ fiq_start = start;
|
|
|
}
|