diff options
Diffstat (limited to 'arch/ia64/hp/common')
| -rw-r--r-- | arch/ia64/hp/common/sba_iommu.c | 18 | 
1 files changed, 1 insertions, 17 deletions
| diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c index aec4a3354abe..ee5b652d320a 100644 --- a/arch/ia64/hp/common/sba_iommu.c +++ b/arch/ia64/hp/common/sba_iommu.c @@ -1845,9 +1845,6 @@ static void ioc_init(unsigned long hpa, struct ioc *ioc)  	ioc_resource_init(ioc);  	ioc_sac_init(ioc); -	if ((long) ~iovp_mask > (long) ia64_max_iommu_merge_mask) -		ia64_max_iommu_merge_mask = ~iovp_mask; -  	printk(KERN_INFO PFX  		"%s %d.%d HPA 0x%lx IOVA space %dMb at 0x%lx\n",  		ioc->name, (ioc->rev >> 4) & 0xF, ioc->rev & 0xF, @@ -1942,19 +1939,6 @@ static const struct seq_operations ioc_seq_ops = {  	.show  = ioc_show  }; -static int -ioc_open(struct inode *inode, struct file *file) -{ -	return seq_open(file, &ioc_seq_ops); -} - -static const struct file_operations ioc_fops = { -	.open    = ioc_open, -	.read    = seq_read, -	.llseek  = seq_lseek, -	.release = seq_release -}; -  static void __init  ioc_proc_init(void)  { @@ -1964,7 +1948,7 @@ ioc_proc_init(void)  	if (!dir)  		return; -	proc_create(ioc_list->name, 0, dir, &ioc_fops); +	proc_create_seq(ioc_list->name, 0, dir, &ioc_seq_ops);  }  #endif |