linux/arch/powerpc/platforms
Michael Ellerman e55014923e [POWERPC] spufs: Cleanup ELF coredump extra notes logic
To start with, arch_notes_size() etc. is a little too ambiguous a name for
my liking, so change the function names to be more explicit.

Calling through macros is ugly, especially with hidden parameters, so don't
do that, call the routines directly.

Use ARCH_HAVE_EXTRA_ELF_NOTES as the only flag, and based on it decide
whether we want the extern declarations or the empty versions.

Since we have empty routines, actually use them in the coredump code to
save a few #ifdefs.

We want to change the handling of foffset so that the write routine updates
foffset as it goes, instead of using file->f_pos (so that writing to a pipe
works).  So pass foffset to the write routine, and for now just set it to
file->f_pos at the end of writing.

It should also be possible for the write routine to fail, so change it to
return int and treat a non-zero return as failure.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-09-19 15:12:19 +10:00
..
8xx [POWERPC] Remove old includes from arch/ppc 2007-08-22 22:39:35 -05:00
40x [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00
44x [POWERPC] Fix bus probe on Bamboo board 2007-09-07 07:50:26 -05:00
52xx [POWERPC] Provide a default irq_host match, which matches on an exact of_node 2007-09-14 01:33:20 +10:00
82xx [POWERPC] Provide a default irq_host match, which matches on an exact of_node 2007-09-14 01:33:20 +10:00
83xx [POWERPC] MPC832x_RDB: Update dts to use SPI1 in QE, register mmc_spi stub 2007-09-14 08:54:13 -05:00
85xx [POWERPC] 85xx: Add basic Uniprocessor MPC8572 DS port 2007-09-14 08:51:54 -05:00
86xx [POWERPC] 86xx: Remove unnecessary loops_per_jiffy initialization code. 2007-09-14 08:51:32 -05:00
cell [POWERPC] spufs: Cleanup ELF coredump extra notes logic 2007-09-19 15:12:19 +10:00
celleb [POWERPC] Invert null match behaviour for irq_hosts 2007-09-14 01:33:20 +10:00
chrp [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need 2007-08-22 22:43:29 -05:00
embedded6xx [POWERPC] linkstation updates 2007-09-14 08:51:27 -05:00
iseries [POWERPC] Invert null match behaviour for irq_hosts 2007-09-14 01:33:20 +10:00
maple [POWERPC] maple pci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
pasemi [POWERPC] Add workaround for MPICs with broken register reads 2007-09-14 01:33:25 +10:00
powermac [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 [POWERPC] PS3: Enhance storage probe debug output 2007-09-14 01:33:26 +10:00
pseries [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
Kconfig [POWERPC] Add workaround for MPICs with broken register reads 2007-09-14 01:33:25 +10:00
Kconfig.cputype [POWERPC] bootwrapper: Add 8xx cuboot support 2007-08-22 15:28:59 +10:00
Makefile [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00