mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 15:39:42 -04:00
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: [IA64] SN: prevent IRQ retargetting in request_irq() [IA64] Fix section mismatch ioc3uart_init()/ioc3uart_submodule [IA64] Clear up section mismatch for ioc4_ide_attach_one. [IA64] Clear up section mismatch with arch_unregister_cpu() [IA64] Clear up section mismatch for sn_check_wars. [IA64] Updated the generic_defconfig to work with the 2.6.28-rc7 kernel. [IA64] Fix GRU compile error w/o CONFIG_HUGETLB_PAGE [IA64] eliminate NULL test and memset after alloc_bootmem [IA64] remove BUILD_BUG_ON from paravirt_getreg()
This commit is contained in:
@@ -550,7 +550,7 @@ static const struct ide_dma_ops sgiioc4_dma_ops = {
|
||||
.dma_timeout = ide_dma_timeout,
|
||||
};
|
||||
|
||||
static const struct ide_port_info sgiioc4_port_info __devinitdata = {
|
||||
static const struct ide_port_info sgiioc4_port_info __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.chipset = ide_pci,
|
||||
.init_dma = ide_dma_sgiioc4,
|
||||
@@ -633,7 +633,7 @@ pci_init_sgiioc4(struct pci_dev *dev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
int __devinit
|
||||
ioc4_ide_attach_one(struct ioc4_driver_data *idd)
|
||||
{
|
||||
/* PCI-RT does not bring out IDE connection.
|
||||
@@ -645,7 +645,7 @@ ioc4_ide_attach_one(struct ioc4_driver_data *idd)
|
||||
return pci_init_sgiioc4(idd->idd_pdev);
|
||||
}
|
||||
|
||||
static struct ioc4_submodule ioc4_ide_submodule = {
|
||||
static struct ioc4_submodule __devinitdata ioc4_ide_submodule = {
|
||||
.is_name = "IOC4_ide",
|
||||
.is_owner = THIS_MODULE,
|
||||
.is_probe = ioc4_ide_attach_one,
|
||||
|
||||
@@ -254,7 +254,11 @@ static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr,
|
||||
return 1;
|
||||
|
||||
*paddr = pte_pfn(pte) << PAGE_SHIFT;
|
||||
#ifdef CONFIG_HUGETLB_PAGE
|
||||
*pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT;
|
||||
#else
|
||||
*pageshift = PAGE_SHIFT;
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
err:
|
||||
|
||||
@@ -2149,7 +2149,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static struct ioc3_submodule ioc3uart_submodule = {
|
||||
static struct ioc3_submodule ioc3uart_ops = {
|
||||
.name = "IOC3uart",
|
||||
.probe = ioc3uart_probe,
|
||||
.remove = ioc3uart_remove,
|
||||
@@ -2173,7 +2173,7 @@ static int __devinit ioc3uart_init(void)
|
||||
__func__);
|
||||
return ret;
|
||||
}
|
||||
ret = ioc3_register_submodule(&ioc3uart_submodule);
|
||||
ret = ioc3_register_submodule(&ioc3uart_ops);
|
||||
if (ret)
|
||||
uart_unregister_driver(&ioc3_uart);
|
||||
return ret;
|
||||
@@ -2181,7 +2181,7 @@ static int __devinit ioc3uart_init(void)
|
||||
|
||||
static void __devexit ioc3uart_exit(void)
|
||||
{
|
||||
ioc3_unregister_submodule(&ioc3uart_submodule);
|
||||
ioc3_unregister_submodule(&ioc3uart_ops);
|
||||
uart_unregister_driver(&ioc3_uart);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user