Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1232915 > unrolled thread

[PATCH v2 2/7] irq: Export per-cpu irq allocation and de-allocation functions

Started byGregory CLEMENT <gregory.clement@free-electrons.com>
First post2015-09-25 18:20 +0200
Last post2015-09-30 17:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 2/7] irq: Export per-cpu irq allocation and de-allocation functions Gregory CLEMENT <gregory.clement@free-electrons.com> - 2015-09-25 18:20 +0200
    Re: [PATCH v2 2/7] irq: Export per-cpu irq allocation and  de-allocation functions Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2015-09-30 17:00 +0200

#1232915 — [PATCH v2 2/7] irq: Export per-cpu irq allocation and de-allocation functions

FromGregory CLEMENT <gregory.clement@free-electrons.com>
Date2015-09-25 18:20 +0200
Subject[PATCH v2 2/7] irq: Export per-cpu irq allocation and de-allocation functions
Message-ID<qcDT4-6vz-15@gated-at.bofh.it>
From: Maxime Ripard <maxime.ripard@free-electrons.com>

Some drivers might use the per-cpu interrupts and still might be built as a
module. Export request_percpu_irq an free_percpu_irq to these user, which
also make it consistent with enable/disable_percpu_irq that were exported.

Reported-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
 kernel/irq/manage.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index dc8a80ecfc4a..89440d2f6c07 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -1761,6 +1761,7 @@ void free_percpu_irq(unsigned int irq, void __percpu *dev_id)
 	kfree(__free_percpu_irq(irq, dev_id));
 	chip_bus_sync_unlock(desc);
 }
+EXPORT_SYMBOL_GPL(free_percpu_irq);
 
 /**
  *	setup_percpu_irq - setup a per-cpu interrupt
@@ -1832,6 +1833,7 @@ int request_percpu_irq(unsigned int irq, irq_handler_t handler,
 
 	return retval;
 }
+EXPORT_SYMBOL_GPL(request_percpu_irq);
 
 /**
  *	irq_get_irqchip_state - returns the irqchip state of a interrupt.
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1236421 — Re: [PATCH v2 2/7] irq: Export per-cpu irq allocation and de-allocation functions

FromThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date2015-09-30 17:00 +0200
SubjectRe: [PATCH v2 2/7] irq: Export per-cpu irq allocation and de-allocation functions
Message-ID<qer1o-8aa-17@gated-at.bofh.it>
In reply to#1232915
Hello,

Some minor typos, quite certainly not worth respining a new iteration
of the series.

On Fri, 25 Sep 2015 18:09:33 +0200, Gregory CLEMENT wrote:
> From: Maxime Ripard <maxime.ripard@free-electrons.com>
> 
> Some drivers might use the per-cpu interrupts and still might be built as a
> module. Export request_percpu_irq an free_percpu_irq to these user, which

an -> and

these user -> these users

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web