mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 10:21:25 +01:00 
			
		
		
		
	The generic bitops headers are required when calling logarithmic functions, such as ilog2(). Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Jagan Teki <jteki@openedev.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			540 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			540 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
 | 
						|
 * Scott McNutt <smcnutt@psyent.com>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __ASM_NIOS2_BITOPS_H_
 | 
						|
#define __ASM_NIOS2_BITOPS_H_
 | 
						|
 | 
						|
/* copied from linux-2.6/include/asm-generic/bitops */
 | 
						|
#include <asm/bitops/atomic.h>
 | 
						|
#include <asm/bitops/non-atomic.h>
 | 
						|
#include <asm/bitops/ffs.h>
 | 
						|
 | 
						|
#include <asm-generic/bitops/fls.h>
 | 
						|
#include <asm-generic/bitops/__fls.h>
 | 
						|
#include <asm-generic/bitops/fls64.h>
 | 
						|
#include <asm-generic/bitops/__ffs.h>
 | 
						|
 | 
						|
#endif /* __ASM_NIOS2_BITOPS_H */
 |