mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 11:03:14 +00:00 
			
		
		
		
	 c6dbaef22a
			
		
	
	
		c6dbaef22a
		
	
	
	
	
		
			
			Add arch specific dev_archdata to struct device Adds an arch specific struct dev_arch to struct device. This enables architecture to add specific fields to every device in the system, like DMA operation pointers, NUMA node ID, firmware specific data, etc... Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Andi Kleen <ak@suse.de> Acked-By: David Howells <dhowells@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
		
			
				
	
	
		
			8 lines
		
	
	
		
			129 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			129 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Arch specific extensions to struct device
 | |
|  *
 | |
|  * This file is released under the GPLv2
 | |
|  */
 | |
| #include <asm-generic/device.h>
 | |
| 
 |