mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 12:20:52 +07:00
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 <deller@gmx.de>
This commit is contained in:
parent
b819439fea
commit
8d73b18079
@ -174,7 +174,7 @@ void pcibios_set_master(struct pci_dev *dev)
|
|||||||
* pcibios_init_bridge() initializes cache line and default latency
|
* pcibios_init_bridge() initializes cache line and default latency
|
||||||
* for pci controllers and pci-pci bridges
|
* for pci controllers and pci-pci bridges
|
||||||
*/
|
*/
|
||||||
void __init pcibios_init_bridge(struct pci_dev *dev)
|
void __ref pcibios_init_bridge(struct pci_dev *dev)
|
||||||
{
|
{
|
||||||
unsigned short bridge_ctl, bridge_ctl_new;
|
unsigned short bridge_ctl, bridge_ctl_new;
|
||||||
|
|
||||||
|
@ -516,7 +516,7 @@ static void __init map_pages(unsigned long start_vaddr,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void free_initmem(void)
|
void __ref free_initmem(void)
|
||||||
{
|
{
|
||||||
unsigned long init_begin = (unsigned long)__init_begin;
|
unsigned long init_begin = (unsigned long)__init_begin;
|
||||||
unsigned long init_end = (unsigned long)__init_end;
|
unsigned long init_end = (unsigned long)__init_end;
|
||||||
|
@ -1263,7 +1263,7 @@ static struct parisc_driver ccio_driver __refdata = {
|
|||||||
* I/O Page Directory, the resource map, and initalizing the
|
* I/O Page Directory, the resource map, and initalizing the
|
||||||
* U2/Uturn chip into virtual mode.
|
* U2/Uturn chip into virtual mode.
|
||||||
*/
|
*/
|
||||||
static void
|
static void __init
|
||||||
ccio_ioc_init(struct ioc *ioc)
|
ccio_ioc_init(struct ioc *ioc)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user