https://github.com/torvalds/linux
Raw File
Tip revision: d566ec94e63702a1bf83f43804b021a8f478a27b authored by dependabot[bot] on 02 November 2023, 21:52:54 UTC
build(deps): bump pip from 23.2.1 to 23.3 in /drivers/gpu/drm/ci/xfails
Tip revision: d566ec9
ext2-atomic-setbit.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
#define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_

/*
 * Atomic bitops based version of ext2 atomic bitops
 */

#define ext2_set_bit_atomic(l, nr, addr)	test_and_set_bit_le(nr, addr)
#define ext2_clear_bit_atomic(l, nr, addr)	test_and_clear_bit_le(nr, addr)

#endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ */
back to top