]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf0fe118acd4bc18db8e76e6a6e26aa34f5c9a60
tree7ae4dd9dc0f29d8675638ddfbb23878252122605
parent543b3ddbb8811dadc7ad416f4e085c7562eb7968
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