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
9c2ca106
Commit
9c2ca106
authored
Aug 27, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: iosapic: Convert I/O Sapic driver to use arch_initcall()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
53861a91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
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
-5
drivers/parisc/iosapic.c
drivers/parisc/iosapic.c
+4
-4
No files found.
arch/parisc/include/asm/processor.h
View file @
9c2ca106
...
...
@@ -314,7 +314,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
);
struct
parisc_device
;
struct
resource
;
extern
void
sba_distributed_lmmio
(
struct
parisc_device
*
,
struct
resource
*
);
...
...
arch/parisc/kernel/setup.c
View file @
9c2ca106
...
...
@@ -278,11 +278,6 @@ static int __init parisc_init(void)
apply_alternatives_all
();
parisc_setup_cache_timing
();
/* These are in a non-obvious order, will fix when we have an iotree */
#if defined(CONFIG_IOSAPIC)
iosapic_init
();
#endif
return
0
;
}
arch_initcall
(
parisc_init
);
...
...
drivers/parisc/iosapic.c
View file @
9c2ca106
...
...
@@ -348,13 +348,10 @@ iosapic_load_irt(unsigned long cell_num, struct irt_entry **irt)
}
void
__init
iosapic_init
(
void
)
static
int
__init
iosapic_init
(
void
)
{
unsigned
long
cell
=
0
;
DBG
(
"iosapic_init()
\n
"
);
#ifdef __LP64__
if
(
is_pdc_pat
())
{
int
status
;
...
...
@@ -371,7 +368,10 @@ void __init iosapic_init(void)
irt_num_entry
=
iosapic_load_irt
(
cell
,
&
irt_cell
);
if
(
irt_num_entry
==
0
)
irt_cell
=
NULL
;
/* old PDC w/o iosapic */
return
0
;
}
arch_initcall
(
iosapic_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