printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / cmpxchg-emu.h
blob998deec67740aa2d6116804ea1904c437b2eef55
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Emulated 1-byte and 2-byte cmpxchg operations for architectures
4 * lacking direct support for these sizes. These are implemented in terms
5 * of 4-byte cmpxchg operations.
7 * Copyright (C) 2024 Paul E. McKenney.
8 */
10 #ifndef __LINUX_CMPXCHG_EMU_H
11 #define __LINUX_CMPXCHG_EMU_H
13 uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new);
15 #endif /* __LINUX_CMPXCHG_EMU_H */