lkml.org 
[lkml]   [2017]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] irq/irq_sim: implement irq_sim_baseirq()
2017-09-26 19:06 GMT+02:00 Bartosz Golaszewski <brgl@bgdev.pl>:
> Some users need to access the base of the allocated interrupt range.
> Although this can be calculated manually, it's more elegant to expose
> an interface for that.
>
> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
> ---
> When porting the iio_dummy_evgen to using irq_sim I needed to manually
> calculate the base interrupt number. If this gets merged, I'll update
> the iio driver for 4.16.
>
> include/linux/irq_sim.h | 1 +
> kernel/irq/irq_sim.c | 11 +++++++++++
> 2 files changed, 12 insertions(+)
>

Superseded by: https://lkml.org/lkml/2017/10/5/312

\
 
 \ /
  Last update: 2017-10-05 14:46    [W:0.032 / U:0.116 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site