Logo
Explore Help
Register Sign In
leandrof/linux
1
0
Fork 0
You've already forked linux
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
dfc3095cec27f402c183da920f4733785e4c873d
linux/arch/powerpc/kernel/cpu_specs.h

28 lines
461 B
C
Raw Normal View History

powerpc/cputable: Split cpu_specs[] out of cputable.h cpu_specs[] is full of #ifdefs depending on the different types of CPU. CPUs are mutually exclusive, it is therefore possible to split cpu_specs[] into smaller more readable pieces. Create cpu_specs_XXX.h that will each be dedicated on one of the following mutually exclusive families: - 40x - 44x - 47x - 8xx - e500 - book3s/32 - book3s/64 In book3s/32, the block for 603 has been moved in front in order to not have two 604 blocks. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> [mpe: Fix CONFIG_47x to be CONFIG_PPC_47x, tweak some formatting] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/a44b865e0318286155273b10cdf524ab697928c1.1663606875.git.christophe.leroy@csgroup.eu
2022-09-19 19:01:30 +02:00
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifdef CONFIG_40x
#include "cpu_specs_40x.h"
#endif
#ifdef CONFIG_PPC_47x
#include "cpu_specs_47x.h"
#elif defined(CONFIG_44x)
#include "cpu_specs_44x.h"
#endif
#ifdef CONFIG_PPC_8xx
#include "cpu_specs_8xx.h"
#endif
#ifdef CONFIG_E500
#include "cpu_specs_e500.h"
#endif
#ifdef CONFIG_PPC_BOOK3S_32
#include "cpu_specs_book3s_32.h"
#endif
#ifdef CONFIG_PPC_BOOK3S_64
#include "cpu_specs_book3s_64.h"
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 1741ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API