HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-6.14.0-1017-azure/include/linux/cmpxchg-emu.h
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Emulated 1-byte and 2-byte cmpxchg operations for architectures
 * lacking direct support for these sizes.  These are implemented in terms
 * of 4-byte cmpxchg operations.
 *
 * Copyright (C) 2024 Paul E. McKenney.
 */

#ifndef __LINUX_CMPXCHG_EMU_H
#define __LINUX_CMPXCHG_EMU_H

uintptr_t cmpxchg_emu_u8(volatile u8 *p, uintptr_t old, uintptr_t new);

#endif /* __LINUX_CMPXCHG_EMU_H */