2019-05-27 06:55:01 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2005-08-03 04:40:16 +00: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
|
|
|
|
*/
|
|
|
|
|
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 19:07:20 +00:00
|
|
|
#include <linux/export.h>
|
|
|
|
#include <linux/cache.h>
|
2005-08-03 04:40:16 +00:00
|
|
|
|
|
|
|
#include <asm/firmware.h>
|
|
|
|
|
2010-02-07 13:07:36 +00:00
|
|
|
unsigned long powerpc_firmware_features __read_mostly;
|
2006-03-27 03:26:25 +00:00
|
|
|
EXPORT_SYMBOL_GPL(powerpc_firmware_features);
|