~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to arch/powerpc/sysdev/i8259.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
        return 0;
186
186
}
187
187
 
188
 
static void i8259_host_unmap(struct irq_host *h, unsigned int virq)
189
 
{
190
 
        /* Make sure irq is masked in hardware */
191
 
        i8259_mask_irq(irq_get_irq_data(virq));
192
 
 
193
 
        /* remove chip and handler */
194
 
        irq_set_chip_and_handler(virq, NULL, NULL);
195
 
 
196
 
        /* Make sure it's completed */
197
 
        synchronize_irq(virq);
198
 
}
199
 
 
200
188
static int i8259_host_xlate(struct irq_host *h, struct device_node *ct,
201
189
                            const u32 *intspec, unsigned int intsize,
202
190
                            irq_hw_number_t *out_hwirq, unsigned int *out_flags)
220
208
static struct irq_host_ops i8259_host_ops = {
221
209
        .match = i8259_host_match,
222
210
        .map = i8259_host_map,
223
 
        .unmap = i8259_host_unmap,
224
211
        .xlate = i8259_host_xlate,
225
212
};
226
213