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
Kirill Smelkov
linux
Commits
53861a91
Commit
53861a91
authored
Aug 27, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: sba_iommu: Convert SBA IOMMU driver to use arch_initcall()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
3b425dd2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
arch/parisc/include/asm/processor.h
arch/parisc/include/asm/processor.h
+0
-1
arch/parisc/kernel/setup.c
arch/parisc/kernel/setup.c
+0
-3
drivers/parisc/sba_iommu.c
drivers/parisc/sba_iommu.c
+3
-2
No files found.
arch/parisc/include/asm/processor.h
View file @
53861a91
...
...
@@ -315,7 +315,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v);
/* driver code in driver/parisc */
extern
void
processor_init
(
void
);
extern
void
iosapic_init
(
void
);
extern
void
sba_init
(
void
);
struct
parisc_device
;
struct
resource
;
extern
void
sba_distributed_lmmio
(
struct
parisc_device
*
,
struct
resource
*
);
...
...
arch/parisc/kernel/setup.c
View file @
53861a91
...
...
@@ -282,9 +282,6 @@ static int __init parisc_init(void)
/* These are in a non-obvious order, will fix when we have an iotree */
#if defined(CONFIG_IOSAPIC)
iosapic_init
();
#endif
#if defined(CONFIG_IOMMU_SBA)
sba_init
();
#endif
return
0
;
}
...
...
drivers/parisc/sba_iommu.c
View file @
53861a91
...
...
@@ -1994,10 +1994,11 @@ static int __init sba_driver_callback(struct parisc_device *dev)
** This is the only routine which is NOT static.
** Must be called exactly once before pci_init().
*/
void
__init
sba_init
(
void
)
static
int
__init
sba_init
(
void
)
{
register_parisc_driver
(
&
sba_driver
);
re
turn
re
gister_parisc_driver
(
&
sba_driver
);
}
arch_initcall
(
sba_init
);
/**
...
...
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