cregit-Linux how code gets into the kernel

Release 4.14 tools/virtio/linux/compiler.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef LINUX_COMPILER_H

#define LINUX_COMPILER_H


#define WRITE_ONCE(var, val) \
	(*((volatile typeof(val) *)(&(var))) = (val))


#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var))))

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Michael S. Tsirkin2492.31%133.33%
Mark Rutland13.85%133.33%
Greg Kroah-Hartman13.85%133.33%
Total26100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.