Re: [PATCH 1/2] powerpc: merge 32-bit and 64-bit _switch implementation

2023-03-27 Thread Nicholas Piggin
On Tue Mar 28, 2023 at 3:46 AM AEST, Christophe Leroy wrote: > > > Le 25/03/2023 à 14:06, Nicholas Piggin a écrit : > > The _switch stack frame setup are substantially the same, so are the > > comments. The difference in how the stack and current are switched, > > and other hardware and software ho

Re: [PATCH 1/2] powerpc: merge 32-bit and 64-bit _switch implementation

2023-03-27 Thread Christophe Leroy
Le 25/03/2023 à 14:06, Nicholas Piggin a écrit : > The _switch stack frame setup are substantially the same, so are the > comments. The difference in how the stack and current are switched, > and other hardware and software housekeeping is done is moved into > macros. > > Signed-off-by: Nicholas

[PATCH 1/2] powerpc: merge 32-bit and 64-bit _switch implementation

2023-03-25 Thread Nicholas Piggin
The _switch stack frame setup are substantially the same, so are the comments. The difference in how the stack and current are switched, and other hardware and software housekeeping is done is moved into macros. Signed-off-by: Nicholas Piggin --- These patches are mostly just shuffling code aroun