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
a375720f
Commit
a375720f
authored
Nov 10, 2002
by
Art Haas
Committed by
James Simmons
Nov 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializers for arch/i386
parent
8a30e3c0
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
62 additions
and
59 deletions
+62
-59
arch/i386/kernel/cpu/amd.c
arch/i386/kernel/cpu/amd.c
+8
-8
arch/i386/kernel/cpu/intel.c
arch/i386/kernel/cpu/intel.c
+36
-36
arch/i386/kernel/cpu/nexgen.c
arch/i386/kernel/cpu/nexgen.c
+5
-2
arch/i386/kernel/cpu/rise.c
arch/i386/kernel/cpu/rise.c
+6
-6
arch/i386/kernel/cpu/umc.c
arch/i386/kernel/cpu/umc.c
+4
-4
arch/i386/kernel/timers/timer_tsc.c
arch/i386/kernel/timers/timer_tsc.c
+1
-1
arch/i386/pci/numa.c
arch/i386/pci/numa.c
+2
-2
No files found.
arch/i386/kernel/cpu/amd.c
View file @
a375720f
...
@@ -188,15 +188,15 @@ static unsigned int amd_size_cache(struct cpuinfo_x86 * c, unsigned int size)
...
@@ -188,15 +188,15 @@ static unsigned int amd_size_cache(struct cpuinfo_x86 * c, unsigned int size)
static
struct
cpu_dev
amd_cpu_dev
__initdata
=
{
static
struct
cpu_dev
amd_cpu_dev
__initdata
=
{
.
c_vendor
=
"AMD"
,
.
c_vendor
=
"AMD"
,
.
c_ident
=
{
"AuthenticAMD"
},
.
c_ident
=
{
"AuthenticAMD"
},
c_models:
{
.
c_models
=
{
{
X86_VENDOR_AMD
,
4
,
{
.
vendor
=
X86_VENDOR_AMD
,
.
family
=
4
,
.
model_names
=
{
{
[
3
]
"486 DX/2"
,
[
3
]
=
"486 DX/2"
,
[
7
]
"486 DX/2-WB"
,
[
7
]
=
"486 DX/2-WB"
,
[
8
]
"486 DX/4"
,
[
8
]
=
"486 DX/4"
,
[
9
]
"486 DX/4-WB"
,
[
9
]
=
"486 DX/4-WB"
,
[
14
]
"Am5x86-WT"
,
[
14
]
=
"Am5x86-WT"
,
[
15
]
"Am5x86-WB"
[
15
]
=
"Am5x86-WB"
}
}
},
},
},
},
...
...
arch/i386/kernel/cpu/intel.c
View file @
a375720f
...
@@ -392,52 +392,52 @@ static unsigned int intel_size_cache(struct cpuinfo_x86 * c, unsigned int size)
...
@@ -392,52 +392,52 @@ static unsigned int intel_size_cache(struct cpuinfo_x86 * c, unsigned int size)
static
struct
cpu_dev
intel_cpu_dev
__initdata
=
{
static
struct
cpu_dev
intel_cpu_dev
__initdata
=
{
.
c_vendor
=
"Intel"
,
.
c_vendor
=
"Intel"
,
.
c_ident
=
{
"GenuineIntel"
},
.
c_ident
=
{
"GenuineIntel"
},
c_models:
{
.
c_models
=
{
{
X86_VENDOR_INTEL
,
4
,
{
.
vendor
=
X86_VENDOR_INTEL
,
.
family
=
4
,
.
model_names
=
{
{
[
0
]
"486 DX-25/33"
,
[
0
]
=
"486 DX-25/33"
,
[
1
]
"486 DX-50"
,
[
1
]
=
"486 DX-50"
,
[
2
]
"486 SX"
,
[
2
]
=
"486 SX"
,
[
3
]
"486 DX/2"
,
[
3
]
=
"486 DX/2"
,
[
4
]
"486 SL"
,
[
4
]
=
"486 SL"
,
[
5
]
"486 SX/2"
,
[
5
]
=
"486 SX/2"
,
[
7
]
"486 DX/2-WB"
,
[
7
]
=
"486 DX/2-WB"
,
[
8
]
"486 DX/4"
,
[
8
]
=
"486 DX/4"
,
[
9
]
"486 DX/4-WB"
[
9
]
=
"486 DX/4-WB"
}
}
},
},
{
X86_VENDOR_INTEL
,
5
,
{
.
vendor
=
X86_VENDOR_INTEL
,
.
family
=
5
,
.
model_names
=
{
{
[
0
]
"Pentium 60/66 A-step"
,
[
0
]
=
"Pentium 60/66 A-step"
,
[
1
]
"Pentium 60/66"
,
[
1
]
=
"Pentium 60/66"
,
[
2
]
"Pentium 75 - 200"
,
[
2
]
=
"Pentium 75 - 200"
,
[
3
]
"OverDrive PODP5V83"
,
[
3
]
=
"OverDrive PODP5V83"
,
[
4
]
"Pentium MMX"
,
[
4
]
=
"Pentium MMX"
,
[
7
]
"Mobile Pentium 75 - 200"
,
[
7
]
=
"Mobile Pentium 75 - 200"
,
[
8
]
"Mobile Pentium MMX"
[
8
]
=
"Mobile Pentium MMX"
}
}
},
},
{
X86_VENDOR_INTEL
,
6
,
{
.
vendor
=
X86_VENDOR_INTEL
,
.
family
=
6
,
.
model_names
=
{
{
[
0
]
"Pentium Pro A-step"
,
[
0
]
=
"Pentium Pro A-step"
,
[
1
]
"Pentium Pro"
,
[
1
]
=
"Pentium Pro"
,
[
3
]
"Pentium II (Klamath)"
,
[
3
]
=
"Pentium II (Klamath)"
,
[
4
]
"Pentium II (Deschutes)"
,
[
4
]
=
"Pentium II (Deschutes)"
,
[
5
]
"Pentium II (Deschutes)"
,
[
5
]
=
"Pentium II (Deschutes)"
,
[
6
]
"Mobile Pentium II"
,
[
6
]
=
"Mobile Pentium II"
,
[
7
]
"Pentium III (Katmai)"
,
[
7
]
=
"Pentium III (Katmai)"
,
[
8
]
"Pentium III (Coppermine)"
,
[
8
]
=
"Pentium III (Coppermine)"
,
[
10
]
"Pentium III (Cascades)"
,
[
10
]
=
"Pentium III (Cascades)"
,
[
11
]
"Pentium III (Tualatin)"
,
[
11
]
=
"Pentium III (Tualatin)"
,
}
}
},
},
{
X86_VENDOR_INTEL
,
15
,
{
.
vendor
=
X86_VENDOR_INTEL
,
.
family
=
15
,
.
model_names
=
{
{
[
0
]
"Pentium 4 (Unknown)"
,
[
0
]
=
"Pentium 4 (Unknown)"
,
[
1
]
"Pentium 4 (Willamette)"
,
[
1
]
=
"Pentium 4 (Willamette)"
,
[
2
]
"Pentium 4 (Northwood)"
,
[
2
]
=
"Pentium 4 (Northwood)"
,
[
4
]
"Pentium 4 (Foster)"
,
[
4
]
=
"Pentium 4 (Foster)"
,
[
5
]
"Pentium 4 (Foster)"
,
[
5
]
=
"Pentium 4 (Foster)"
,
}
}
},
},
},
},
...
...
arch/i386/kernel/cpu/nexgen.c
View file @
a375720f
...
@@ -44,8 +44,11 @@ static void nexgen_identify(struct cpuinfo_x86 * c)
...
@@ -44,8 +44,11 @@ static void nexgen_identify(struct cpuinfo_x86 * c)
static
struct
cpu_dev
nexgen_cpu_dev
__initdata
=
{
static
struct
cpu_dev
nexgen_cpu_dev
__initdata
=
{
.
c_vendor
=
"Nexgen"
,
.
c_vendor
=
"Nexgen"
,
.
c_ident
=
{
"NexGenDriven"
},
.
c_ident
=
{
"NexGenDriven"
},
c_models:
{
.
c_models
=
{
{
X86_VENDOR_NEXGEN
,
5
,
{
[
1
]
"Nx586"
}
},
{
.
vendor
=
X86_VENDOR_NEXGEN
,
.
family
=
5
,
.
model_names
=
{
[
1
]
=
"Nx586"
}
},
},
},
.
c_init
=
init_nexgen
,
.
c_init
=
init_nexgen
,
.
c_identify
=
nexgen_identify
,
.
c_identify
=
nexgen_identify
,
...
...
arch/i386/kernel/cpu/rise.c
View file @
a375720f
...
@@ -31,13 +31,13 @@ static void __init init_rise(struct cpuinfo_x86 *c)
...
@@ -31,13 +31,13 @@ static void __init init_rise(struct cpuinfo_x86 *c)
static
struct
cpu_dev
rise_cpu_dev
__initdata
=
{
static
struct
cpu_dev
rise_cpu_dev
__initdata
=
{
.
c_vendor
=
"Rise"
,
.
c_vendor
=
"Rise"
,
.
c_ident
=
{
"RiseRiseRise"
},
.
c_ident
=
{
"RiseRiseRise"
},
c_models:
{
.
c_models
=
{
{
X86_VENDOR_RISE
,
5
,
{
.
vendor
=
X86_VENDOR_RISE
,
.
family
=
5
,
.
model_names
=
{
{
[
0
]
"iDragon"
,
[
0
]
=
"iDragon"
,
[
2
]
"iDragon"
,
[
2
]
=
"iDragon"
,
[
8
]
"iDragon II"
,
[
8
]
=
"iDragon II"
,
[
9
]
"iDragon II"
[
9
]
=
"iDragon II"
}
}
},
},
},
},
...
...
arch/i386/kernel/cpu/umc.c
View file @
a375720f
...
@@ -13,11 +13,11 @@ static void __init init_umc(struct cpuinfo_x86 * c)
...
@@ -13,11 +13,11 @@ static void __init init_umc(struct cpuinfo_x86 * c)
static
struct
cpu_dev
umc_cpu_dev
__initdata
=
{
static
struct
cpu_dev
umc_cpu_dev
__initdata
=
{
.
c_vendor
=
"UMC"
,
.
c_vendor
=
"UMC"
,
.
c_ident
=
{
"UMC UMC UMC"
},
.
c_ident
=
{
"UMC UMC UMC"
},
c_models:
{
.
c_models
=
{
{
X86_VENDOR_UMC
,
4
,
{
.
vendor
=
X86_VENDOR_UMC
,
.
family
=
4
,
.
model_names
=
{
{
[
1
]
"U5D"
,
[
1
]
=
"U5D"
,
[
2
]
"U5S"
,
[
2
]
=
"U5S"
,
}
}
},
},
},
},
...
...
arch/i386/kernel/timers/timer_tsc.c
View file @
a375720f
...
@@ -224,7 +224,7 @@ time_cpufreq_notifier(struct notifier_block *nb, unsigned long val,
...
@@ -224,7 +224,7 @@ time_cpufreq_notifier(struct notifier_block *nb, unsigned long val,
}
}
static
struct
notifier_block
time_cpufreq_notifier_block
=
{
static
struct
notifier_block
time_cpufreq_notifier_block
=
{
notifier_call:
time_cpufreq_notifier
.
notifier_call
=
time_cpufreq_notifier
};
};
#endif
#endif
...
...
arch/i386/pci/numa.c
View file @
a375720f
...
@@ -84,8 +84,8 @@ static int pci_conf1_mq_write(struct pci_bus *bus, unsigned int devfn, int where
...
@@ -84,8 +84,8 @@ static int pci_conf1_mq_write(struct pci_bus *bus, unsigned int devfn, int where
}
}
static
struct
pci_ops
pci_direct_conf1_mq
=
{
static
struct
pci_ops
pci_direct_conf1_mq
=
{
read:
pci_conf1_mq_read
,
.
read
=
pci_conf1_mq_read
,
write:
pci_conf1_mq_write
.
write
=
pci_conf1_mq_write
};
};
...
...
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