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
9a2ed5cc
Commit
9a2ed5cc
authored
Apr 07, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc64: Fix section mismatch warnings in PCI controller drivers.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
19ab6db6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
20 deletions
+20
-20
arch/sparc/kernel/pci_fire.c
arch/sparc/kernel/pci_fire.c
+2
-2
arch/sparc/kernel/pci_psycho.c
arch/sparc/kernel/pci_psycho.c
+4
-4
arch/sparc/kernel/pci_sabre.c
arch/sparc/kernel/pci_sabre.c
+4
-4
arch/sparc/kernel/pci_sun4v.c
arch/sparc/kernel/pci_sun4v.c
+7
-7
arch/sparc/mm/init_64.c
arch/sparc/mm/init_64.c
+3
-3
No files found.
arch/sparc/kernel/pci_fire.c
View file @
9a2ed5cc
...
@@ -409,7 +409,7 @@ static void pci_fire_hw_init(struct pci_pbm_info *pbm)
...
@@ -409,7 +409,7 @@ static void pci_fire_hw_init(struct pci_pbm_info *pbm)
upa_writeq
(
~
(
u64
)
0
,
pbm
->
pbm_regs
+
FIRE_PEC_IENAB
);
upa_writeq
(
~
(
u64
)
0
,
pbm
->
pbm_regs
+
FIRE_PEC_IENAB
);
}
}
static
int
__init
pci_fire_pbm_init
(
struct
pci_pbm_info
*
pbm
,
static
int
__
dev
init
pci_fire_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
u32
portid
)
struct
of_device
*
op
,
u32
portid
)
{
{
const
struct
linux_prom64_registers
*
regs
;
const
struct
linux_prom64_registers
*
regs
;
...
...
arch/sparc/kernel/pci_psycho.c
View file @
9a2ed5cc
...
@@ -365,7 +365,7 @@ static void pbm_config_busmastering(struct pci_pbm_info *pbm)
...
@@ -365,7 +365,7 @@ static void pbm_config_busmastering(struct pci_pbm_info *pbm)
pci_config_write8
(
addr
,
64
);
pci_config_write8
(
addr
,
64
);
}
}
static
void
__init
psycho_scan_bus
(
struct
pci_pbm_info
*
pbm
,
static
void
__
dev
init
psycho_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
struct
device
*
parent
)
{
{
pbm_config_busmastering
(
pbm
);
pbm_config_busmastering
(
pbm
);
...
@@ -482,7 +482,7 @@ static void psycho_pbm_strbuf_init(struct pci_pbm_info *pbm,
...
@@ -482,7 +482,7 @@ static void psycho_pbm_strbuf_init(struct pci_pbm_info *pbm,
#define PSYCHO_MEMSPACE_B 0x180000000UL
#define PSYCHO_MEMSPACE_B 0x180000000UL
#define PSYCHO_MEMSPACE_SIZE 0x07fffffffUL
#define PSYCHO_MEMSPACE_SIZE 0x07fffffffUL
static
void
__init
psycho_pbm_init
(
struct
pci_pbm_info
*
pbm
,
static
void
__
dev
init
psycho_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
int
is_pbm_a
)
struct
of_device
*
op
,
int
is_pbm_a
)
{
{
psycho_pbm_init_common
(
pbm
,
op
,
"PSYCHO"
,
PBM_CHIP_TYPE_PSYCHO
);
psycho_pbm_init_common
(
pbm
,
op
,
"PSYCHO"
,
PBM_CHIP_TYPE_PSYCHO
);
...
...
arch/sparc/kernel/pci_sabre.c
View file @
9a2ed5cc
...
@@ -402,7 +402,7 @@ static void apb_init(struct pci_bus *sabre_bus)
...
@@ -402,7 +402,7 @@ static void apb_init(struct pci_bus *sabre_bus)
}
}
}
}
static
void
__init
sabre_scan_bus
(
struct
pci_pbm_info
*
pbm
,
static
void
__
dev
init
sabre_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
struct
device
*
parent
)
{
{
static
int
once
;
static
int
once
;
...
@@ -442,7 +442,7 @@ static void __init sabre_scan_bus(struct pci_pbm_info *pbm,
...
@@ -442,7 +442,7 @@ static void __init sabre_scan_bus(struct pci_pbm_info *pbm,
sabre_register_error_handlers
(
pbm
);
sabre_register_error_handlers
(
pbm
);
}
}
static
void
__init
sabre_pbm_init
(
struct
pci_pbm_info
*
pbm
,
static
void
__
dev
init
sabre_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
)
struct
of_device
*
op
)
{
{
psycho_pbm_init_common
(
pbm
,
op
,
"SABRE"
,
PBM_CHIP_TYPE_SABRE
);
psycho_pbm_init_common
(
pbm
,
op
,
"SABRE"
,
PBM_CHIP_TYPE_SABRE
);
...
...
arch/sparc/kernel/pci_sun4v.c
View file @
9a2ed5cc
...
@@ -545,7 +545,7 @@ static const struct dma_ops sun4v_dma_ops = {
...
@@ -545,7 +545,7 @@ static const struct dma_ops sun4v_dma_ops = {
.
sync_sg_for_cpu
=
dma_4v_sync_sg_for_cpu
,
.
sync_sg_for_cpu
=
dma_4v_sync_sg_for_cpu
,
};
};
static
void
__init
pci_sun4v_scan_bus
(
struct
pci_pbm_info
*
pbm
,
static
void
__
dev
init
pci_sun4v_scan_bus
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
struct
device
*
parent
)
{
{
struct
property
*
prop
;
struct
property
*
prop
;
...
@@ -559,7 +559,7 @@ static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm,
...
@@ -559,7 +559,7 @@ static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm,
/* XXX register error interrupt handlers XXX */
/* XXX register error interrupt handlers XXX */
}
}
static
unsigned
long
__init
probe_existing_entries
(
struct
pci_pbm_info
*
pbm
,
static
unsigned
long
__
dev
init
probe_existing_entries
(
struct
pci_pbm_info
*
pbm
,
struct
iommu
*
iommu
)
struct
iommu
*
iommu
)
{
{
struct
iommu_arena
*
arena
=
&
iommu
->
arena
;
struct
iommu_arena
*
arena
=
&
iommu
->
arena
;
...
@@ -587,7 +587,7 @@ static unsigned long __init probe_existing_entries(struct pci_pbm_info *pbm,
...
@@ -587,7 +587,7 @@ static unsigned long __init probe_existing_entries(struct pci_pbm_info *pbm,
return
cnt
;
return
cnt
;
}
}
static
int
__init
pci_sun4v_iommu_init
(
struct
pci_pbm_info
*
pbm
)
static
int
__
dev
init
pci_sun4v_iommu_init
(
struct
pci_pbm_info
*
pbm
)
{
{
static
const
u32
vdma_default
[]
=
{
0x80000000
,
0x80000000
};
static
const
u32
vdma_default
[]
=
{
0x80000000
,
0x80000000
};
struct
iommu
*
iommu
=
pbm
->
iommu
;
struct
iommu
*
iommu
=
pbm
->
iommu
;
...
@@ -889,7 +889,7 @@ static void pci_sun4v_msi_init(struct pci_pbm_info *pbm)
...
@@ -889,7 +889,7 @@ static void pci_sun4v_msi_init(struct pci_pbm_info *pbm)
}
}
#endif
/* !(CONFIG_PCI_MSI) */
#endif
/* !(CONFIG_PCI_MSI) */
static
int
__init
pci_sun4v_pbm_init
(
struct
pci_pbm_info
*
pbm
,
static
int
__
dev
init
pci_sun4v_pbm_init
(
struct
pci_pbm_info
*
pbm
,
struct
of_device
*
op
,
u32
devhandle
)
struct
of_device
*
op
,
u32
devhandle
)
{
{
struct
device_node
*
dp
=
op
->
node
;
struct
device_node
*
dp
=
op
->
node
;
...
...
arch/sparc/mm/init_64.c
View file @
9a2ed5cc
...
@@ -70,8 +70,8 @@ extern struct tsb swapper_4m_tsb[KERNEL_TSB4M_NENTRIES];
...
@@ -70,8 +70,8 @@ extern struct tsb swapper_4m_tsb[KERNEL_TSB4M_NENTRIES];
#define MAX_BANKS 32
#define MAX_BANKS 32
static
struct
linux_prom64_registers
pavail
[
MAX_BANKS
]
__initdata
;
static
struct
linux_prom64_registers
pavail
[
MAX_BANKS
]
__
dev
initdata
;
static
int
pavail_ents
__initdata
;
static
int
pavail_ents
__
dev
initdata
;
static
int
cmp_p64
(
const
void
*
a
,
const
void
*
b
)
static
int
cmp_p64
(
const
void
*
a
,
const
void
*
b
)
{
{
...
@@ -1841,7 +1841,7 @@ void __init paging_init(void)
...
@@ -1841,7 +1841,7 @@ void __init paging_init(void)
printk
(
"Booting Linux...
\n
"
);
printk
(
"Booting Linux...
\n
"
);
}
}
int
__init
page_in_phys_avail
(
unsigned
long
paddr
)
int
__
dev
init
page_in_phys_avail
(
unsigned
long
paddr
)
{
{
int
i
;
int
i
;
...
...
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