Re: [PATCH 02/14] powerpc: Allow create_branch() to return errors

2008-06-24 Thread Kumar Gala
On Jun 23, 2008, at 8:32 PM, Michael Ellerman wrote: 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

Re: [PATCH 02/14] powerpc: Allow create_branch() to return errors

2008-06-24 Thread Jon Loeliger
Michael Ellerman wrote: 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 befor

[PATCH 02/14] powerpc: Allow create_branch() to return errors

2008-06-23 Thread Michael Ellerman
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 fu