summaryrefslogtreecommitdiff
path: root/fs/dax.c
diff options
context:
space:
mode:
authorSuresh Warrier <warrier@linux.vnet.ibm.com>2016-08-19 08:35:55 +0300
committerPaul Mackerras <paulus@ozlabs.org>2016-09-12 03:12:23 +0300
commit366274f59c4de018f72ab44bb41ccaf3d657eb52 (patch)
treee4dae5bc867ae5d73a2e04dd16db9f66c3da5e68 /fs/dax.c
parent644abbb254b1ab171f777431b23e6fb5879599d0 (diff)
downloadlinux-366274f59c4de018f72ab44bb41ccaf3d657eb52.tar.xz
KVM: PPC: Book3S HV: Update irq stats for IRQs handled in real mode
When a passthrough IRQ is handled completely within KVM real mode code, it has to also update the IRQ stats since this does not go through the generic IRQ handling code. However, the per CPU kstat_irqs field is an allocated (not static) field and so cannot be directly accessed in real mode safely. The function this_cpu_inc_rm() is introduced to safely increment per CPU fields (currently coded for unsigned integers only) that are allocated and could thus be vmalloced also. Signed-off-by: Suresh Warrier <warrier@linux.vnet.ibm.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions