From: Geert Uytterhoeven Date: Wed, 10 Jun 2009 04:39:06 +0000 (+0000) Subject: ps3: Replace direct file operations by callback X-Git-Tag: v2.6.31-rc1~314^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4e623fbc9b201930abcf78df6db5e49aa8e00cb;p=pandora-kernel.git ps3: Replace direct file operations by callback 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. Signed-off-by: Geert Uytterhoeven Cc: Geoff Levand Acked-by: Geoff Levand Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed