]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/preempt: Add comments
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 4 Dec 2024 11:31:00 +0000 (12:31 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 15 Dec 2024 14:13:43 +0000 (15:13 +0100)
commita7af4fb85e208f31cc767245516460b1af287b36
tree320eafd8b2bd1b953ee18e45021dd2662703ec50
parent9b90c5705786cf0c39356a94b19d842c954fdf16
s390/preempt: Add comments

The s390 preempt_count implementation is more or less a copy of the x86
implementation using different instructions. For clarification how this
works also add all comments from x86 with some minor modifications.

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/preempt.h