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
7def4239
Commit
7def4239
authored
Jun 30, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: traps: Mark functions static
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
5f0c791d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
arch/parisc/kernel/traps.c
arch/parisc/kernel/traps.c
+2
-5
No files found.
arch/parisc/kernel/traps.c
View file @
7def4239
...
...
@@ -338,7 +338,7 @@ static void default_trap(int code, struct pt_regs *regs)
void
(
*
cpu_lpmc
)
(
int
code
,
struct
pt_regs
*
regs
)
__read_mostly
=
default_trap
;
void
transfer_pim_to_trap_frame
(
struct
pt_regs
*
regs
)
static
void
transfer_pim_to_trap_frame
(
struct
pt_regs
*
regs
)
{
register
int
i
;
extern
unsigned
int
hpmc_pim_data
[];
...
...
@@ -800,14 +800,13 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
}
void
__init
initialize_ivt
(
const
void
*
iva
)
static
void
__init
initialize_ivt
(
const
void
*
iva
)
{
extern
const
u32
os_hpmc
[];
int
i
;
u32
check
=
0
;
u32
*
ivap
;
u32
*
hpmcp
;
u32
instr
;
if
(
strcmp
((
const
char
*
)
iva
,
"cows can fly"
))
...
...
@@ -840,8 +839,6 @@ void __init initialize_ivt(const void *iva)
/* Setup IVA and compute checksum for HPMC handler */
ivap
[
6
]
=
(
u32
)
__pa
(
os_hpmc
);
hpmcp
=
(
u32
*
)
os_hpmc
;
for
(
i
=
0
;
i
<
8
;
i
++
)
check
+=
ivap
[
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