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
cbb89e29
Commit
cbb89e29
authored
Nov 10, 2002
by
Art Haas
Committed by
Andy Grover
Nov 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializers for arch/ppc64
parent
929fe66c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
arch/ppc64/kernel/LparData.c
arch/ppc64/kernel/LparData.c
+5
-5
arch/ppc64/kernel/pci_dma.c
arch/ppc64/kernel/pci_dma.c
+4
-4
arch/ppc64/kernel/rtas_flash.c
arch/ppc64/kernel/rtas_flash.c
+4
-4
arch/ppc64/kernel/setup.c
arch/ppc64/kernel/setup.c
+4
-4
No files found.
arch/ppc64/kernel/LparData.c
View file @
cbb89e29
...
...
@@ -149,11 +149,11 @@ struct ItExtVpdPanel xItExtVpdPanel = {};
struct
IoHriProcessorVpd
xIoHriProcessorVpd
[
maxPhysicalProcessors
]
=
{
{
xInstCacheOperandSize:
32
,
xDataCacheOperandSize:
32
,
xProcFreq:
50000000
,
xTimeBaseFreq:
50000000
,
xPVR:
0x3600
.
xInstCacheOperandSize
=
32
,
.
xDataCacheOperandSize
=
32
,
.
xProcFreq
=
50000000
,
.
xTimeBaseFreq
=
50000000
,
.
xPVR
=
0x3600
}
};
...
...
arch/ppc64/kernel/pci_dma.c
View file @
cbb89e29
...
...
@@ -60,11 +60,11 @@ extern struct list_head iSeries_Global_Device_List;
struct
TceTable
virtBusVethTceTable
;
/* Tce table for virtual ethernet */
struct
TceTable
virtBusVioTceTable
;
/* Tce table for virtual I/O */
struct
iSeries_Device_Node
iSeries_veth_dev_node
=
{
LogicalSlot
:
0xFF
,
DevTceTable
:
&
virtBusVethTceTable
};
struct
iSeries_Device_Node
iSeries_vio_dev_node
=
{
LogicalSlot
:
0xFF
,
DevTceTable
:
&
virtBusVioTceTable
};
struct
iSeries_Device_Node
iSeries_veth_dev_node
=
{
.
LogicalSlot
=
0xFF
,
.
DevTceTable
=
&
virtBusVethTceTable
};
struct
iSeries_Device_Node
iSeries_vio_dev_node
=
{
.
LogicalSlot
=
0xFF
,
.
DevTceTable
=
&
virtBusVioTceTable
};
struct
pci_dev
iSeries_veth_dev_st
=
{
sysdata
:
&
iSeries_veth_dev_node
};
struct
pci_dev
iSeries_vio_dev_st
=
{
sysdata
:
&
iSeries_vio_dev_node
};
struct
pci_dev
iSeries_veth_dev_st
=
{
.
sysdata
=
&
iSeries_veth_dev_node
};
struct
pci_dev
iSeries_vio_dev_st
=
{
.
sysdata
=
&
iSeries_vio_dev_node
};
struct
pci_dev
*
iSeries_veth_dev
=
&
iSeries_veth_dev_st
;
struct
pci_dev
*
iSeries_vio_dev
=
&
iSeries_vio_dev_st
;
...
...
arch/ppc64/kernel/rtas_flash.c
View file @
cbb89e29
...
...
@@ -199,10 +199,10 @@ static ssize_t rtas_flash_write(struct file *file, const char *buffer,
}
static
struct
file_operations
rtas_flash_operations
=
{
read:
rtas_flash_read
,
write:
rtas_flash_write
,
open:
rtas_flash_open
,
release:
rtas_flash_release
,
.
read
=
rtas_flash_read
,
.
write
=
rtas_flash_write
,
.
open
=
rtas_flash_open
,
.
release
=
rtas_flash_release
,
};
...
...
arch/ppc64/kernel/setup.c
View file @
cbb89e29
...
...
@@ -119,10 +119,10 @@ void ppcdbg_initialize(void) {
}
static
struct
console
udbg_console
=
{
name:
"udbg"
,
write:
udbg_console_write
,
flags:
CON_PRINTBUFFER
,
index:
-
1
,
.
name
=
"udbg"
,
.
write
=
udbg_console_write
,
.
flags
=
CON_PRINTBUFFER
,
.
index
=
-
1
,
};
static
int
early_console_initialized
;
...
...
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