Commit 195eae95 authored by Jesse Barnes's avatar Jesse Barnes Committed by David Mosberger

[PATCH] ia64: hwgfs fix for sn2

Small fix for hwgfs on sn2.
parent 07a57e67
...@@ -113,22 +113,10 @@ static int hcl_ioctl(struct inode * inode, struct file * file, ...@@ -113,22 +113,10 @@ static int hcl_ioctl(struct inode * inode, struct file * file,
} }
struct file_operations hcl_fops = { struct file_operations hcl_fops = {
(struct module *)0, .owner = (struct module *)0,
NULL, /* lseek - default */ .ioctl = hcl_ioctl,
NULL, /* read - general block-dev read */ .open = hcl_open,
NULL, /* write - general block-dev write */ .release = hcl_close,
NULL, /* readdir - bad */
NULL, /* poll */
hcl_ioctl, /* ioctl */
NULL, /* mmap */
hcl_open, /* open */
NULL, /* flush */
hcl_close, /* release */
NULL, /* fsync */
NULL, /* fasync */
NULL, /* lock */
NULL, /* readv */
NULL, /* writev */
}; };
...@@ -258,6 +246,7 @@ hwgraph_fastinfo_get(vertex_hdl_t de) ...@@ -258,6 +246,7 @@ hwgraph_fastinfo_get(vertex_hdl_t de)
if (!de) { if (!de) {
printk(KERN_WARNING "HCL: hwgraph_fastinfo_get handle given is NULL.\n"); printk(KERN_WARNING "HCL: hwgraph_fastinfo_get handle given is NULL.\n");
dump_stack();
return(-1); return(-1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment