# Re: \[PATCH 1/2\] MIPS: rework local\_t operation on MIPS64

- From: Thomas Bogendoerfer \<tsbogend@alpha.franken.de\>
- Date: 2021-12-13 15:26:07 
- List: linux-mips
- Page: https://ratatoskr.run/linux-mips/2021/12/14528755
- Thread: https://ratatoskr.run/linux-mips/2021/12/14528755/t.md

```text
On Mon, Dec 06, 2021 at 02:19:43PM +0800, Huang Pei wrote:
> +. use "daddu/dsubu" for long int on MIPS64 instead of "addu/subu"
> 
> +. remove "asm/war.h" since R10000_LLSC_WAR became a config option
> 
> +. clean up
> 
> Fixes: 7232311ef14c ("local_t: mips extension")
> Suggested-by:  Maciej W. Rozycki <macro@orcam.me.uk>
> Signed-off-by: Huang Pei <redacted>

please split this into at least two patches. One which just fixes
the bug and then do the cleanups.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
```
