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
a7fde0bf
Commit
a7fde0bf
authored
Jun 30, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: unwind: Mark start and stop variables __maybe_unused
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
b62b37d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
arch/parisc/kernel/unwind.c
arch/parisc/kernel/unwind.c
+3
-2
No files found.
arch/parisc/kernel/unwind.c
View file @
a7fde0bf
...
@@ -24,12 +24,13 @@
...
@@ -24,12 +24,13 @@
#include <asm/unwind.h>
#include <asm/unwind.h>
#include <asm/switch_to.h>
#include <asm/switch_to.h>
#include <asm/sections.h>
#include <asm/sections.h>
#include <asm/ftrace.h>
/* #define DEBUG 1 */
/* #define DEBUG 1 */
#ifdef DEBUG
#ifdef DEBUG
#define dbg(x...) pr_debug(x)
#define dbg(x...) pr_debug(x)
#else
#else
#define dbg(x...)
#define dbg(x...)
do { } while (0)
#endif
#endif
#define KERNEL_START (KERNEL_BINARY_TEXT_START)
#define KERNEL_START (KERNEL_BINARY_TEXT_START)
...
@@ -179,7 +180,7 @@ void unwind_table_remove(struct unwind_table *table)
...
@@ -179,7 +180,7 @@ void unwind_table_remove(struct unwind_table *table)
/* Called from setup_arch to import the kernel unwind info */
/* Called from setup_arch to import the kernel unwind info */
int
__init
unwind_init
(
void
)
int
__init
unwind_init
(
void
)
{
{
long
start
,
stop
;
long
start
__maybe_unused
,
stop
__maybe_unused
;
register
unsigned
long
gp
__asm__
(
"r27"
);
register
unsigned
long
gp
__asm__
(
"r27"
);
start
=
(
long
)
&
__start___unwind
[
0
];
start
=
(
long
)
&
__start___unwind
[
0
];
...
...
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