| 
									
										
										
										
											2005-08-03 14:40:16 +10:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  *  Extracted from cputable.c | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org) | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Modifications for ppc64: | 
					
						
							|  |  |  |  *      Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.com> | 
					
						
							|  |  |  |  *  Copyright (C) 2005 Stephen Rothwell, IBM Corporation | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  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. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
											
												powerpc: fix implicit use of cache.h in kernel/firmware.c
This file only needs export.h to get EXPORT_SYMBOL, but in doing
so, it uncovers an implicit use of linux/cache.h as follows:
 CC      arch/powerpc/kernel/firmware.o
arch/powerpc/kernel/firmware.c:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly'
arch/powerpc/kernel/firmware.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__used'
make[2]: *** [arch/powerpc/kernel/firmware.o] Error 1
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
											
										 
											2011-07-22 15:07:20 -04:00
										 |  |  | #include <linux/export.h>
 | 
					
						
							|  |  |  | #include <linux/cache.h>
 | 
					
						
							| 
									
										
										
										
											2005-08-03 14:40:16 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include <asm/firmware.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-02-07 13:07:36 +00:00
										 |  |  | unsigned long powerpc_firmware_features __read_mostly; | 
					
						
							| 
									
										
										
										
											2006-03-27 14:26:25 +11:00
										 |  |  | EXPORT_SYMBOL_GPL(powerpc_firmware_features); |