Based on a patch by Michael Ellerman <michael@ellerman.id.au> Patch was simply forward ported upstream. Jimi Xenidis <jimix@pobox.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			543 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			543 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Copyright 2011 Michael Ellerman, IBM Corp.
 | 
						|
 *
 | 
						|
 *  This program is free software; you can redistribute it and/or
 | 
						|
 *  modify it under the terms of the GNU General Public License
 | 
						|
 *  as published by the Free Software Foundation; either version
 | 
						|
 *  2 of the License, or (at your option) any later version.
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __WSP_MSI_H
 | 
						|
#define __WSP_MSI_H
 | 
						|
 | 
						|
#ifdef CONFIG_PCI_MSI
 | 
						|
extern void wsp_setup_phb_msi(struct pci_controller *phb);
 | 
						|
#else
 | 
						|
static inline void wsp_setup_phb_msi(struct pci_controller *phb) { }
 | 
						|
#endif
 | 
						|
 | 
						|
#endif /* __WSP_MSI_H */
 |