Pull for-2.6.31 into release
This commit is contained in:
@@ -1787,7 +1787,7 @@ static struct ioc_iommu ioc_iommu_info[] __initdata = {
|
||||
};
|
||||
|
||||
static struct ioc * __init
|
||||
ioc_init(u64 hpa, void *handle)
|
||||
ioc_init(unsigned long hpa, void *handle)
|
||||
{
|
||||
struct ioc *ioc;
|
||||
struct ioc_iommu *info;
|
||||
|
@@ -27,7 +27,7 @@ hpsim_set_affinity_noop(unsigned int a, const struct cpumask *b)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct hw_interrupt_type irq_type_hp_sim = {
|
||||
static struct irq_chip irq_type_hp_sim = {
|
||||
.name = "hpsim",
|
||||
.startup = hpsim_irq_startup,
|
||||
.shutdown = hpsim_irq_noop,
|
||||
@@ -41,12 +41,12 @@ static struct hw_interrupt_type irq_type_hp_sim = {
|
||||
void __init
|
||||
hpsim_irq_init (void)
|
||||
{
|
||||
irq_desc_t *idesc;
|
||||
struct irq_desc *idesc;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < NR_IRQS; ++i) {
|
||||
idesc = irq_desc + i;
|
||||
if (idesc->chip == &no_irq_type)
|
||||
if (idesc->chip == &no_irq_chip)
|
||||
idesc->chip = &irq_type_hp_sim;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user