mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 06:56:43 +07:00
8882a4da1c
This patch moves a bunch of files from arch/ppc64 and include/asm-ppc64 which have no equivalents in ppc32 code into arch/powerpc and include/asm-powerpc. The file affected are: abs_addr.h compat.h lppaca.h paca.h tce.h cpu_setup_power4.S ioctl32.c firmware.c pacaData.c The only changes apart from the move and corresponding Makefile changes are: - #ifndef/#define in includes updated to _ASM_POWERPC_ form - trailing whitespace removed - comments giving full paths removed - pacaData.c renamed paca.c to remove studlyCaps - Misplaced { moved in lppaca.h Built and booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64), built for 32-bit powermac (ARCH=powerpc). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
46 lines
1.4 KiB
C
46 lines
1.4 KiB
C
/*
|
|
* 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.
|
|
*/
|
|
|
|
#include <linux/config.h>
|
|
|
|
#include <asm/firmware.h>
|
|
|
|
unsigned long ppc64_firmware_features;
|
|
|
|
#ifdef CONFIG_PPC_PSERIES
|
|
firmware_feature_t firmware_features_table[FIRMWARE_MAX_FEATURES] = {
|
|
{FW_FEATURE_PFT, "hcall-pft"},
|
|
{FW_FEATURE_TCE, "hcall-tce"},
|
|
{FW_FEATURE_SPRG0, "hcall-sprg0"},
|
|
{FW_FEATURE_DABR, "hcall-dabr"},
|
|
{FW_FEATURE_COPY, "hcall-copy"},
|
|
{FW_FEATURE_ASR, "hcall-asr"},
|
|
{FW_FEATURE_DEBUG, "hcall-debug"},
|
|
{FW_FEATURE_PERF, "hcall-perf"},
|
|
{FW_FEATURE_DUMP, "hcall-dump"},
|
|
{FW_FEATURE_INTERRUPT, "hcall-interrupt"},
|
|
{FW_FEATURE_MIGRATE, "hcall-migrate"},
|
|
{FW_FEATURE_PERFMON, "hcall-perfmon"},
|
|
{FW_FEATURE_CRQ, "hcall-crq"},
|
|
{FW_FEATURE_VIO, "hcall-vio"},
|
|
{FW_FEATURE_RDMA, "hcall-rdma"},
|
|
{FW_FEATURE_LLAN, "hcall-lLAN"},
|
|
{FW_FEATURE_BULK, "hcall-bulk"},
|
|
{FW_FEATURE_XDABR, "hcall-xdabr"},
|
|
{FW_FEATURE_MULTITCE, "hcall-multi-tce"},
|
|
{FW_FEATURE_SPLPAR, "hcall-splpar"},
|
|
};
|
|
#endif
|