]> www.infradead.org Git - mtd-utils.git/commit
ubifs-utils: Add bit operations implementations
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 08:36:46 +0000 (16:36 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:45 +0000 (10:32 +0100)
commit12b706023468c8b8fb1ed0e3fb940151339b1680
tree0f918175ca15a9ffb6918372af168c4a8b6e0659
parentb4460065025ef82f47cf4afa36f6db3b22bda591
ubifs-utils: Add bit operations implementations

Add bit operations implementations, because there are some bit operations
(eg. __set_bit, test_bit) used in UBIFS linux kernel libs.

This is a preparation for replacing implementation of UBIFS utils with
linux kernel libs.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/Makemodule.am
ubifs-utils/common/bitops.c [new file with mode: 0644]
ubifs-utils/common/bitops.h [new file with mode: 0644]
ubifs-utils/common/defs.h
ubifs-utils/common/lpt.c