patch-2.4.27 linux-2.4.27/arch/ppc64/kernel/lparcfg.c
Next file: linux-2.4.27/arch/ppc64/kernel/nvram.c
Previous file: linux-2.4.27/arch/ppc/platforms/proc_rtas.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-08-07 16:26:04.593344271 -0700
- Orig file:
linux-2.4.26/arch/ppc64/kernel/lparcfg.c
- Orig date:
2004-04-14 06:05:27.000000000 -0700
diff -urN linux-2.4.26/arch/ppc64/kernel/lparcfg.c linux-2.4.27/arch/ppc64/kernel/lparcfg.c
@@ -415,7 +415,7 @@
pnt = (char *)(data) + p;
copy_to_user(buf, (void *)pnt, count);
read += count;
- *ppos += read;
+ *ppos = p + read;
return read;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)