Re: [PATCH V2] powerpc/tm: Clean up duplication of code

2016-05-11 Thread Balbir Singh
On Thu, 12 May 2016 13:39:02 +1000 Rashmica Gupta wrote: > The same logic for tm_abort appears twice, so pull it out into a > function. > > Signed-off-by: Rashmica Gupta > --- > v2: Removed some #ifdefs from inside C code and changed the formatting of the > comment. > > arch/powerpc/mm/hash_u

[PATCH V2] powerpc/tm: Clean up duplication of code

2016-05-11 Thread Rashmica Gupta
The same logic for tm_abort appears twice, so pull it out into a function. Signed-off-by: Rashmica Gupta --- v2: Removed some #ifdefs from inside C code and changed the formatting of the comment. arch/powerpc/mm/hash_utils_64.c | 56 +++-- 1 file changed, 26