Fix /proc/fs/lustre/devices on PPC systems.
b=12234
i=nathan
i=scjody
#endif /* LPROCFS */
#ifdef __KERNEL__
-static void *obd_device_list_seq_start(struct seq_file *p, loff_t*pos)
+static void *obd_device_list_seq_start(struct seq_file *p, loff_t *pos)
{
if (*pos >= class_devno_max())
return NULL;
static int obd_device_list_seq_show(struct seq_file *p, void *v)
{
- int index = *(int*)v;
+ int index = *(loff_t *)v;
struct obd_device *obd = class_num2obd(index);
char *status;