aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@gmail.com>2008-11-19 17:11:25 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:25 +0000
commitc298e74a6c0f6c94f57e40767b5a8be3f2ec314f (patch)
tree3a90991b0b014f795c3213ad696090513dec9067
parent5999d912a4de49f79489aac7c22fe3b87b49d8b5 (diff)
: export-irq-functionality.patch
Export some irq-related functionality to modules From: Simon Kagstrom <simon.kagstrom@gmail.com> This patch exports handle_level_irq and __set_irq_handler to modules. It's needed to compile lis302dl as a module. Signed-off-by: Simon Kagstrom <simon.kagstrom@gmail.com>
-rw-r--r--kernel/irq/chip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 10b5092e9bf..66b1e42ec5f 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -380,6 +380,7 @@ handle_level_irq(unsigned int irq, struct irq_desc *desc)
out_unlock:
spin_unlock(&desc->lock);
}
+EXPORT_SYMBOL(handle_level_irq);
/**
* handle_fasteoi_irq - irq handler for transparent controllers
@@ -583,6 +584,7 @@ __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
}
spin_unlock_irqrestore(&desc->lock, flags);
}
+EXPORT_SYMBOL(__set_irq_handler);
void
set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip,