Commit 27f73f64 authored by Patrick Mochel's avatar Patrick Mochel

sysfs: fixup NUMA file that was missed.

- Remove count and off parameters from show() method.
parent 658bf027
......@@ -28,10 +28,10 @@ struct device_driver node_driver = {
};
static ssize_t node_read_cpumap(struct device * dev, char * buf, size_t count, loff_t off)
static ssize_t node_read_cpumap(struct device * dev, char * buf)
{
struct node *node_dev = to_node(to_root(dev));
return off ? 0 : sprintf(buf,"%lx\n",node_dev->cpumap);
return sprintf(buf,"%lx\n",node_dev->cpumap);
}
static DEVICE_ATTR(cpumap,S_IRUGO,node_read_cpumap,NULL);
......
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