Re: [PATCH mips-next 1/2] MIPS: module: optimize module relocations processing

2021-01-17 Thread Jiaxun Yang
在 2021/1/16 下午11:02, Alexander Lobakin 写道: For now, module relocation functions are implemented as an array of handlers of type reloc_handler_t. Convert that array into a single switch-case function to: - remove unused arguments; - change the return type of simple handlers to void; -

[PATCH mips-next 1/2] MIPS: module: optimize module relocations processing

2021-01-16 Thread Alexander Lobakin
For now, module relocation functions are implemented as an array of handlers of type reloc_handler_t. Convert that array into a single switch-case function to: - remove unused arguments; - change the return type of simple handlers to void; - remove the array and don't use any data at all; -