Re: [PATCH] init: consolidate trap_init()

2021-04-14 Thread Jisheng Zhang
On Wed, 14 Apr 2021 17:27:57 +0800 Jisheng Zhang wrote: > CAUTION: Email originated externally, do not click links or open attachments > unless you recognize the sender and know the content is safe. > > > On Wed, 14 Apr 2021 11:10:42 +0200 > Christophe Leroy wrote: > > > > > Le 14/04/2021 à

Re: [PATCH] init: consolidate trap_init()

2021-04-14 Thread Jisheng Zhang
On Wed, 14 Apr 2021 11:10:42 +0200 Christophe Leroy wrote: > > Le 14/04/2021 à 10:58, Jisheng Zhang a écrit : > > Many architectures implement the trap_init() as NOP, since there is > > no such default for trap_init(), this empty stub is duplicated among > > these architectures. Provide a

Re: [PATCH] init: consolidate trap_init()

2021-04-14 Thread Christophe Leroy
Le 14/04/2021 à 10:58, Jisheng Zhang a écrit : Many architectures implement the trap_init() as NOP, since there is no such default for trap_init(), this empty stub is duplicated among these architectures. Provide a generic but weak NOP implementation to drop the empty stubs of trap_init() in

[PATCH] init: consolidate trap_init()

2021-04-14 Thread Jisheng Zhang
Many architectures implement the trap_init() as NOP, since there is no such default for trap_init(), this empty stub is duplicated among these architectures. Provide a generic but weak NOP implementation to drop the empty stubs of trap_init() in these architectures. Signed-off-by: Jisheng Zhang