aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Smith <[email protected]>2015-10-12 10:40:43 +0100
committerRalf Baechle <[email protected]>2015-11-11 08:36:38 +0100
commitc0a9f72c156baf1e88c33c6ba4450647af1b8804 (patch)
tree85854bd0a78de437f78a1415b56097fa1c5b1f8c /tools/perf/scripts/python
parentebb5e78cc63417a35254a791de66e1cc84f963cc (diff)
irqchip: irq-mips-gic: Provide function to map GIC user section
The GIC provides a "user-mode visible" section containing a mirror of the counter registers which can be mapped into user memory. This will be used by the VDSO time function implementations, so provide a function to map it in. When the GIC is not enabled in Kconfig a dummy inline version of this function is provided, along with "#define gic_present 0", so that we don't have to litter the VDSO code with ifdefs. [[email protected]: - Move mapping code to arch/mips/kernel/vdso.c and use a resource type to get the GIC usermode information - Avoid renaming function arguments and use __gic_base_addr to hold the base GIC address prior to ioremap.] [[email protected]: Fix up gic_get_usm_range() to compile and make inline again.] Signed-off-by: Alex Smith <[email protected]> Signed-off-by: Markos Chandras <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Alex Smith <[email protected]> Cc: Markos Chandras <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: http://patchwork.linux-mips.org/patch/11281/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions