linux/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
..
device-init.c powerpc/ps3: Printing fixups for l64 to ll64 conversion arch/powerpc 2009-01-16 16:15:13 +11:00
exports.c [POWERPC] ps3: add lv1 hvcalls 2006-12-04 20:40:44 +11:00
htab.c powerpc/ps3: Printing fixups for l64 to ll64 conversion arch/powerpc 2009-01-16 16:15:13 +11:00
hvcall.S [POWERPC] ps3: add lv1 hvcalls 2006-12-04 20:40:44 +11:00
interrupt.c powerpc/ps3: Printing fixups for l64 to ll64 conversion arch/powerpc 2009-01-16 16:15:13 +11:00
Kconfig Merge commit 'origin/master' into next 2009-03-24 13:38:30 +11:00
Makefile [POWERPC] PS3: Device registration routines. 2007-06-28 19:16:43 +10:00
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 powerpc/ps3: Printing fixups for l64 to ll64 conversion arch/powerpc 2009-01-16 16:15:13 +11:00
setup.c ps3fb/vram: Extract common GPU stuff into <asm/ps3gpu.h> 2009-06-15 13:26:20 +10:00
smp.c powerpc/ps3: Use smp_request_message_ipi 2009-05-21 15:43:58 +10:00
spu.c powerpc/ps3: The lv1_ routines have u64 parameters 2009-01-16 16:15:12 +11:00
system-bus.c powerpc/cell: Extract duplicated IOPTE_* to <asm/iommu.h> 2009-06-15 13:26:19 +10:00
time.c powerpc/ps3: Add rtc-ps3 2009-04-02 01:05:32 +00:00