original_kernel/arch/powerpc/platforms/ps3
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
..
Kconfig
Makefile
device-init.c
exports.c
htab.c
hvcall.S
interrupt.c
mm.c ps3: Correct debug message in dma_ioc0_map_pages() 2009-06-15 16:47:26 +10:00
os-area.c ps3: Replace direct file operations by callback 2009-06-15 16:47:26 +10:00
platform.h powerpc/cell: Extract duplicated IOPTE_* to <asm/iommu.h> 2009-06-15 13:26:19 +10:00
repository.c
setup.c ps3fb/vram: Extract common GPU stuff into <asm/ps3gpu.h> 2009-06-15 13:26:20 +10:00
smp.c
spu.c
system-bus.c powerpc/cell: Extract duplicated IOPTE_* to <asm/iommu.h> 2009-06-15 13:26:19 +10:00
time.c