arc: use swap() to make code cleaner
authorYihao Han <hanyihao@vivo.com>
Wed, 10 Nov 2021 03:07:12 +0000 (19:07 -0800)
committerVineet Gupta <vineetg@rivosinc.com>
Wed, 29 Dec 2021 03:49:44 +0000 (19:49 -0800)
commit8f67f65d121cc3bbb4ffaae80e880aeb307d49f4
tree7ae4dd9dc0f29d8675638ddfbb23878252122605
parentca295ffb9102c8cf619e2a38d5383bf7c08ceb62
arc: use swap() to make code cleaner

Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
opencoding it.

Signed-off-by: Yihao Han <hanyihao@vivo.com>
Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
arch/arc/kernel/unwind.c