Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
3f566849
Commit
3f566849
authored
Feb 13, 2004
by
Benjamin Herrenschmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Add the G5 (IBM 970) CPU to the cputable
parent
8864144f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
arch/ppc64/kernel/cputable.c
arch/ppc64/kernel/cputable.c
+3
-2
No files found.
arch/ppc64/kernel/cputable.c
View file @
3f566849
...
@@ -30,6 +30,7 @@ struct cpu_spec* cur_cpu_spec = NULL;
...
@@ -30,6 +30,7 @@ struct cpu_spec* cur_cpu_spec = NULL;
*/
*/
extern
void
__setup_cpu_power3
(
unsigned
long
offset
,
struct
cpu_spec
*
spec
);
extern
void
__setup_cpu_power3
(
unsigned
long
offset
,
struct
cpu_spec
*
spec
);
extern
void
__setup_cpu_power4
(
unsigned
long
offset
,
struct
cpu_spec
*
spec
);
extern
void
__setup_cpu_power4
(
unsigned
long
offset
,
struct
cpu_spec
*
spec
);
extern
void
__setup_cpu_ppc970
(
unsigned
long
offset
,
struct
cpu_spec
*
spec
);
/* We only set the altivec features if the kernel was compiled with altivec
/* We only set the altivec features if the kernel was compiled with altivec
...
@@ -119,10 +120,10 @@ struct cpu_spec cpu_specs[] = {
...
@@ -119,10 +120,10 @@ struct cpu_spec cpu_specs[] = {
{
/* PPC970 */
{
/* PPC970 */
0xffff0000
,
0x00390000
,
"PPC970"
,
0xffff0000
,
0x00390000
,
"PPC970"
,
CPU_FTR_SPLIT_ID_CACHE
|
CPU_FTR_USE_TB
|
CPU_FTR_HPTE_TABLE
|
CPU_FTR_SPLIT_ID_CACHE
|
CPU_FTR_USE_TB
|
CPU_FTR_HPTE_TABLE
|
CPU_FTR_PPCAS_ARCH_V2
|
CPU_FTR_ALTIVEC_COMP
,
CPU_FTR_PPCAS_ARCH_V2
|
CPU_FTR_ALTIVEC_COMP
|
CPU_FTR_CAN_NAP
,
COMMON_USER_PPC64
|
PPC_FEATURE_HAS_ALTIVEC_COMP
,
COMMON_USER_PPC64
|
PPC_FEATURE_HAS_ALTIVEC_COMP
,
128
,
128
,
128
,
128
,
__setup_cpu_p
ower4
,
__setup_cpu_p
pc970
,
COMMON_PPC64_FW
COMMON_PPC64_FW
},
},
{
/* Power5 */
{
/* Power5 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment