linux-xiaomi-chiron/arch/powerpc
Geert Uytterhoeven a4e623fbc9 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 <Geert.Uytterhoeven@sonycom.com>
Cc: Geoff Levand <geoffrey.levand@am.sony.com>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-06-15 16:47:26 +10:00
..
boot
configs
include/asm ps3: Replace direct file operations by callback 2009-06-15 16:47:26 +10:00
kernel powerpc: Only build prom_init.o when CONFIG_PPC_OF_BOOT_TRAMPOLINE=y 2009-06-15 13:27:36 +10:00
kvm
lib
math-emu
mm
oprofile
platforms ps3: Replace direct file operations by callback 2009-06-15 16:47:26 +10:00
sysdev
xmon
Kconfig powerpc: Use generic atomic64_t implementation on 32-bit processors 2009-06-15 13:27:38 +10:00
Kconfig.debug
Makefile