/* Fallback per-CPU frame pointer holder * * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef _ASM_GENERIC_IRQ_REGS_H #define _ASM_GENERIC_IRQ_REGS_H #include /* * Per-cpu current frame pointer - the location of the last exception frame on * the stack */ DECLARE_PER_CPU(struct pt_regs *, __irq_regs); static inline struct pt_regs *get_irq_regs(void) { return __this_cpu_read(__irq_regs); } static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) { struct pt_regs *old_regs; old_regs = __this_cpu_read(__irq_regs); __this_cpu_write(__irq_regs, new_regs); return old_regs; } #endif /* _ASM_GENERIC_IRQ_REGS_H */ ubmit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/dt-bindings
e='hidden' name='h' value='nds-private-remove'/>
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-10-21 16:40:05 +0800
committerMark Brown <broonie@kernel.org>2016-10-24 17:49:14 +0100
commite98d5fef8556f1da7f903fd1908feed84bb0f90d (patch)
tree95a1268df894d6150ee31f5e97cbcb0c0ab32cc4 /include/dt-bindings/power
parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: tps6507x: Drop pointless static qualifier for *reg_data variable
There is no need to use static for this local variable. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings/power')