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
6414b30b
Commit
6414b30b
authored
Jul 03, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: unwind: Avoid missing prototype warning for handle_interruption()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
147e17e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
arch/parisc/include/asm/processor.h
arch/parisc/include/asm/processor.h
+1
-0
arch/parisc/kernel/unwind.c
arch/parisc/kernel/unwind.c
+3
-2
No files found.
arch/parisc/include/asm/processor.h
View file @
6414b30b
...
...
@@ -296,6 +296,7 @@ extern void do_cpu_irq_mask(struct pt_regs *);
extern
irqreturn_t
timer_interrupt
(
int
,
void
*
);
extern
irqreturn_t
ipi_interrupt
(
int
,
void
*
);
extern
void
start_cpu_itimer
(
void
);
extern
void
handle_interruption
(
int
,
struct
pt_regs
*
);
/* called from assembly code: */
extern
void
start_parisc
(
void
);
...
...
arch/parisc/kernel/unwind.c
View file @
6414b30b
...
...
@@ -221,7 +221,6 @@ static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int
* Note: We could use dereference_kernel_function_descriptor()
* instead but we want to keep it simple here.
*/
extern
void
*
const
handle_interruption
;
extern
void
*
const
ret_from_kernel_thread
;
extern
void
*
const
syscall_exit
;
extern
void
*
const
intr_return
;
...
...
@@ -229,8 +228,10 @@ static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int
#ifdef CONFIG_IRQSTACKS
extern
void
*
const
_call_on_stack
;
#endif
/* CONFIG_IRQSTACKS */
void
*
ptr
;
if
(
pc_is_kernel_fn
(
pc
,
handle_interruption
))
{
ptr
=
dereference_kernel_function_descriptor
(
&
handle_interruption
);
if
(
pc_is_kernel_fn
(
pc
,
ptr
))
{
struct
pt_regs
*
regs
=
(
struct
pt_regs
*
)(
info
->
sp
-
frame_size
-
PT_SZ_ALGN
);
dbg
(
"Unwinding through handle_interruption()
\n
"
);
info
->
prev_sp
=
regs
->
gr
[
30
];
...
...
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