irq.c (762f99f4f3cb41a775b5157dd761217beba65873) irq.c (3748d2185ac4c2c6f80989672253aad909ecaf95)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 *
4 * Copyright (C) 2010 John Crispin <john@phrozen.org>
5 * Copyright (C) 2010 Thomas Langer <thomas.langer@lantiq.com>
6 */
7
8#include <linux/interrupt.h>

--- 394 unchanged lines hidden (view full) ---

403 res.name))
404 pr_err("Failed to request eiu memory");
405
406 ltq_eiu_membase = ioremap(res.start,
407 resource_size(&res));
408 if (!ltq_eiu_membase)
409 panic("Failed to remap eiu memory");
410 }
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 *
4 * Copyright (C) 2010 John Crispin <john@phrozen.org>
5 * Copyright (C) 2010 Thomas Langer <thomas.langer@lantiq.com>
6 */
7
8#include <linux/interrupt.h>

--- 394 unchanged lines hidden (view full) ---

403 res.name))
404 pr_err("Failed to request eiu memory");
405
406 ltq_eiu_membase = ioremap(res.start,
407 resource_size(&res));
408 if (!ltq_eiu_membase)
409 panic("Failed to remap eiu memory");
410 }
411 of_node_put(eiu_node);
411
412 return 0;
413}
414
415int get_c0_perfcount_int(void)
416{
417 return ltq_perfcount_irq;
418}

--- 13 unchanged lines hidden ---
412
413 return 0;
414}
415
416int get_c0_perfcount_int(void)
417{
418 return ltq_perfcount_irq;
419}

--- 13 unchanged lines hidden ---