interrupt.c (52964f87c64e6c6ea671b5bf3030fb1494090a48) interrupt.c (8528ab84ebe7a1eeed9b0acc808df86663d506c0)
1/*
2 * PS3 interrupt routines.
3 *
4 * Copyright (C) 2006 Sony Computer Entertainment Inc.
5 * Copyright 2006 Sony Corp.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

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

668 pr_debug("%s:%d: hwirq %lu, virq %u\n", __func__, __LINE__, hwirq,
669 virq);
670
671 set_irq_chip_and_handler(virq, &ps3_irq_chip, handle_fasteoi_irq);
672
673 return 0;
674}
675
1/*
2 * PS3 interrupt routines.
3 *
4 * Copyright (C) 2006 Sony Computer Entertainment Inc.
5 * Copyright 2006 Sony Corp.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

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

668 pr_debug("%s:%d: hwirq %lu, virq %u\n", __func__, __LINE__, hwirq,
669 virq);
670
671 set_irq_chip_and_handler(virq, &ps3_irq_chip, handle_fasteoi_irq);
672
673 return 0;
674}
675
676static int ps3_host_match(struct irq_host *h, struct device_node *np)
677{
678 /* Match all */
679 return 1;
680}
681
676static struct irq_host_ops ps3_host_ops = {
677 .map = ps3_host_map,
678 .unmap = ps3_host_unmap,
682static struct irq_host_ops ps3_host_ops = {
683 .map = ps3_host_map,
684 .unmap = ps3_host_unmap,
685 .match = ps3_host_match,
679};
680
681void __init ps3_register_ipi_debug_brk(unsigned int cpu, unsigned int virq)
682{
683 struct ps3_private *pd = &per_cpu(ps3_private, cpu);
684
685 pd->bmp.ipi_debug_brk_mask = 0x8000000000000000UL >> virq;
686

--- 82 unchanged lines hidden ---
686};
687
688void __init ps3_register_ipi_debug_brk(unsigned int cpu, unsigned int virq)
689{
690 struct ps3_private *pd = &per_cpu(ps3_private, cpu);
691
692 pd->bmp.ipi_debug_brk_mask = 0x8000000000000000UL >> virq;
693

--- 82 unchanged lines hidden ---