mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Add a link from <asm/atomic.h> to the generic one to allow things like ubifs to be built. This can be extended with riscv AMO ops at a later date. Signed-off-by: Ben Dooks <ben.dooks@sifive.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			259 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			259 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0+ */
 | 
						|
/*
 | 
						|
 * Copyright 2023 SiFive, Inc.
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __RISCV_ATOMIC_H
 | 
						|
#define __RISCV_ATOMIC_H
 | 
						|
 | 
						|
/* use the generic asm/atomic.h until we define a better one */
 | 
						|
 | 
						|
#include <asm/system.h>
 | 
						|
#include <asm-generic/atomic.h>
 | 
						|
 | 
						|
#endif
 |