[patch 5/8] genirq: Add a mask calculation function

2013-05-06 Thread Thomas Gleixner
Some chips have weird bit mask access patterns instead of the linear you expect. Allow them to calculate the cached mask themself. Signed-off-by: Thomas Gleixner --- include/linux/irq.h |3 +++ kernel/irq/generic-chip.c |8 ++-- 2 files changed, 9 insertions(+), 2 deletions(-)

[RFC patch 5/8] genirq: Add a mask calculation function

2013-05-03 Thread Thomas Gleixner
Some chips have weird bit mask access patterns instead of the linear you expect. Allow them to calculate the cached mask themself. Signed-off-by: Thomas Gleixner --- include/linux/irq.h |3 +++ kernel/irq/generic-chip.c |8 ++-- 2 files changed, 9 insertions(+), 2 deletions(-)