Skip to content

Commit 8d73b18

Browse files
committed
parisc: Fix section mismatches
Fix three section mismatches: 1) Section mismatch in reference from the function ioread8() to the function .init.text:pcibios_init_bridge() 2) Section mismatch in reference from the function free_initmem() to the function .init.text:map_pages() 3) Section mismatch in reference from the function ccio_ioc_init() to the function .init.text:count_parisc_driver() Signed-off-by: Helge Deller <[email protected]>
1 parent b819439 commit 8d73b18

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

arch/parisc/kernel/pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ void pcibios_set_master(struct pci_dev *dev)
174174
* pcibios_init_bridge() initializes cache line and default latency
175175
* for pci controllers and pci-pci bridges
176176
*/
177-
void __init pcibios_init_bridge(struct pci_dev *dev)
177+
void __ref pcibios_init_bridge(struct pci_dev *dev)
178178
{
179179
unsigned short bridge_ctl, bridge_ctl_new;
180180

arch/parisc/mm/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ static void __init map_pages(unsigned long start_vaddr,
516516
}
517517
}
518518

519-
void free_initmem(void)
519+
void __ref free_initmem(void)
520520
{
521521
unsigned long init_begin = (unsigned long)__init_begin;
522522
unsigned long init_end = (unsigned long)__init_end;

drivers/parisc/ccio-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@ static struct parisc_driver ccio_driver __refdata = {
12631263
* I/O Page Directory, the resource map, and initalizing the
12641264
* U2/Uturn chip into virtual mode.
12651265
*/
1266-
static void
1266+
static void __init
12671267
ccio_ioc_init(struct ioc *ioc)
12681268
{
12691269
int i;

0 commit comments

Comments
 (0)