OSDN Git Service

s390/set_memory: generate all set_memory() functions
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 25 Aug 2023 12:29:51 +0000 (14:29 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 30 Aug 2023 09:03:27 +0000 (11:03 +0200)
commitc22a4c8aaf60780ce21fb2b5c8019e12457ee949
treeaf8bf8afe319cb9d282bb95fa9de68d174527cc1
parenta6e49f10f4411ec87f16ccb1b0ce5ea7e4a04a95
s390/set_memory: generate all set_memory() functions

The set_memory() functions all follow the same pattern. Use a macro to
generate them, and in result remove a bit of code.

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