machvec_init() should be __init. And then so should hwsw_init().
Signed-off-by: Tony Luck <tony.luck@intel.com>
return dev && dev->dma_mask && !hwiommu_dma_supported(dev, *dev->dma_mask);
}
return dev && dev->dma_mask && !hwiommu_dma_supported(dev, *dev->dma_mask);
}
hwsw_init (void)
{
/* default to a smallish 2MB sw I/O TLB */
hwsw_init (void)
{
/* default to a smallish 2MB sw I/O TLB */
machvec_init (const char *name)
{
struct ia64_machine_vector *mv;
machvec_init (const char *name)
{
struct ia64_machine_vector *mv;