2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/arch/powerpc/platforms
Michael Ellerman e7a57273c6 powerpc: Allow create_branch() to return errors
Currently create_branch() creates a branch instruction for you, and
patches it into the call site.  In some circumstances it would be nice
to be able to create the instruction and patch it later, and also some
code might want to check for errors in the branch creation before
doing the patching.  A future commit will change create_branch() to
check for errors.

For callers that don't care, replace create_branch() with
patch_branch(), which just creates the branch and patches it directly.

While we're touching all the callers, change to using unsigned int *,
as this seems to match usage better.  That allows (and requires) us to
remove the volatile in the definition of vector in powermac/smp.c and
mpc86xx_smp.c, that's correct because now that we're passing vector as
an unsigned int * the compiler knows that it's value might change
across the patch_branch() call.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-07-01 11:28:19 +10:00
..
8xx [POWERPC] CPM: Always use new binding. 2008-04-17 01:01:40 -05:00
40x [POWERPC] 4xx: Create common ppc4xx_reset_system() in ppc4xx_soc.c 2008-04-02 20:44:56 -05:00
44x powerpc/4xx: Sam440ep support 2008-06-11 08:32:49 -04:00
52xx mpc52xx_gpio iomem annotations 2008-06-04 08:06:02 -07:00
82xx Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-04-21 15:50:49 -07:00
83xx powerpc/83xx: new board support: MPC8360E-RDK 2008-06-10 11:11:17 -05:00
85xx Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
86xx powerpc: Allow create_branch() to return errors 2008-07-01 11:28:19 +10:00
512x [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
cell powerpc/cell: Disable ptcal in case of crash kdump 2008-06-30 22:30:58 +10:00
chrp [POWERPC] Move xmon_irq() declaration into xmon.h 2008-05-14 22:31:54 +10:00
embedded6xx powerpc: Add C2K to configuration 2008-06-09 13:42:29 +10:00
iseries powerpc: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
maple [POWERPC] Fix sparse warnings in arch/powerpc/kernel 2008-05-14 22:31:59 +10:00
pasemi i2c: Switch pasemi to the new device/driver matching scheme 2008-05-18 20:49:40 +02:00
powermac powerpc: Allow create_branch() to return errors 2008-07-01 11:28:19 +10:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 [POWERPC] PS3: Fix memory hotplug 2008-05-23 16:15:29 +10:00
pseries powerpc/pseries: Call pseries_kexec_setup only on pseries 2008-06-30 22:30:57 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig [POWERPC] celleb: Move the files for celleb base support 2008-04-24 21:08:13 +10:00
Kconfig.cputype powerpc: Only demote individual slices rather than whole process 2008-07-01 11:27:57 +10:00
Makefile [POWERPC] celleb: Move miscellaneous files for Beat 2008-04-24 21:08:14 +10:00