From 5476c564da7bf9573fa7381fa2e5486e8305dc09 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Tue, 26 Oct 2010 16:19:13 +0900 Subject: [PATCH] --- yaml --- r: 221441 b: refs/heads/master c: 639bd12f778d55a2632fde5af7d0719abc1871b9 h: refs/heads/master i: 221439: 8c565d67635e72e770f3dd9dd188f13449d6e0d7 v: v3 --- [refs] | 2 +- trunk/include/linux/irq.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 3e5f6f50af82..79c2ee78aea1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2656c36699677238edc9ec1fea79039f1fddbcb6 +refs/heads/master: 639bd12f778d55a2632fde5af7d0719abc1871b9 diff --git a/trunk/include/linux/irq.h b/trunk/include/linux/irq.h index e9639115dff1..abde2527c699 100644 --- a/trunk/include/linux/irq.h +++ b/trunk/include/linux/irq.h @@ -412,6 +412,11 @@ static inline void irq_free_desc(unsigned int irq) irq_free_descs(irq, 1); } +static inline int irq_reserve_irq(unsigned int irq) +{ + return irq_reserve_irqs(irq, 1); +} + #endif /* CONFIG_GENERIC_HARDIRQS */ #endif /* !CONFIG_S390 */