On 06/10/2009 07:39 AM, Geert Uytterhoeven wrote: > Currently the FLASH database is updated by the kernel using file operations, > meant for userspace only. While this works for us because > copy_{from,to}_user() > on powerpc can handle kernel pointers, this is unportable and a bad example. > Replace the file operations by callbacks, registered by the ps3flash driver.
Thanks for getting this one done. > Signed-off-by: Geert Uytterhoeven <geert.uytterhoe...@sonycom.com> > Cc: Geoff Levand <geoffrey.lev...@am.sony.com> > --- > arch/powerpc/include/asm/ps3.h | 7 ++ > arch/powerpc/platforms/ps3/os-area.c | 138 ++++++++++++++++++--------------- > drivers/char/ps3flash.c | 94 +++++++++++++++++------ > 3 files changed, 152 insertions(+), 87 deletions(-) Acked-by: Geoff Levand <geoffrey.lev...@am.sony.com> _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev