Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS updates from Ralf Baechle: "These are the highlists of the main MIPS pull request for 4.4: - Add latencytop support - Support appended DTBs - VDSO support and initially use it for gettimeofday. - Drop the .MIPS.abiflags and ELF NOTE sections from vmlinux - Support for the 5KE, an internal test core. - Switch all MIPS platfroms to libata drivers. - Improved support, cleanups for ralink and Lantiq platforms. - Support for the new xilfpga platform. - A number of DTB improvments for BMIPS. - Improved support for CM and CPS. - Minor JZ4740 and BCM47xx enhancements" * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (120 commits) MIPS: idle: add case for CPU_5KE MIPS: Octeon: Support APPENDED_DTB MIPS: vmlinux: create a section for appended DTB MIPS: Clean up compat_siginfo_t MIPS: Fix PAGE_MASK definition MIPS: BMIPS: Enable GZIP ramdisk and timed printks MIPS: Add xilfpga defconfig MIPS: xilfpga: Add mipsfpga platform code MIPS: xilfpga: Add xilfpga device tree files. dt-bindings: MIPS: Document xilfpga bindings and boot style MIPS: Make MIPS_CMDLINE_DTB default MIPS: Make the kernel arguments from dtb available MIPS: Use USE_OF as the guard for appended dtb MIPS: BCM63XX: Use pr_* instead of printk MIPS: Loongson: Cleanup CONFIG_LOONGSON_SUSPEND. MIPS: lantiq: Disable xbar fpi burst mode MIPS: lantiq: Force the crossbar to big endian MIPS: lantiq: Initialize the USB core on boot MIPS: lantiq: Return correct value for fpi clock on ar9 MIPS: ralink: Add missing clock on rt305x ...
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#define __LINUX_IRQCHIP_MIPS_GIC_H
|
||||
|
||||
#include <linux/clocksource.h>
|
||||
#include <linux/ioport.h>
|
||||
|
||||
#define GIC_MAX_INTRS 256
|
||||
|
||||
@@ -245,6 +246,8 @@
|
||||
#define GIC_SHARED_TO_HWIRQ(x) (GIC_SHARED_HWIRQ_BASE + (x))
|
||||
#define GIC_HWIRQ_TO_SHARED(x) ((x) - GIC_SHARED_HWIRQ_BASE)
|
||||
|
||||
#ifdef CONFIG_MIPS_GIC
|
||||
|
||||
extern unsigned int gic_present;
|
||||
|
||||
extern void gic_init(unsigned long gic_base_addr,
|
||||
@@ -264,4 +267,18 @@ extern unsigned int plat_ipi_resched_int_xlate(unsigned int);
|
||||
extern int gic_get_c0_compare_int(void);
|
||||
extern int gic_get_c0_perfcount_int(void);
|
||||
extern int gic_get_c0_fdc_int(void);
|
||||
extern int gic_get_usm_range(struct resource *gic_usm_res);
|
||||
|
||||
#else /* CONFIG_MIPS_GIC */
|
||||
|
||||
#define gic_present 0
|
||||
|
||||
static inline int gic_get_usm_range(struct resource *gic_usm_res)
|
||||
{
|
||||
/* Shouldn't be called. */
|
||||
return -1;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_MIPS_GIC */
|
||||
|
||||
#endif /* __LINUX_IRQCHIP_MIPS_GIC_H */
|
||||
|
Reference in New Issue
Block a user