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
b6dcec9b
Commit
b6dcec9b
authored
Feb 18, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Make __declare_dbe_table static and avoid it getting optimized away
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
102fa15c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
arch/mips/kernel/traps.c
arch/mips/kernel/traps.c
+3
-7
No files found.
arch/mips/kernel/traps.c
View file @
b6dcec9b
...
...
@@ -340,13 +340,9 @@ NORET_TYPE void ATTRIB_NORET die(const char * str, struct pt_regs * regs)
extern
const
struct
exception_table_entry
__start___dbe_table
[];
extern
const
struct
exception_table_entry
__stop___dbe_table
[];
void
__declare_dbe_table
(
void
)
{
__asm__
__volatile__
(
".section
\t
__dbe_table,
\"
a
\"\n\t
"
".previous"
);
}
__asm__
(
" .section __dbe_table,
\"
a
\"\n
"
" .previous
\n
"
);
/* Given an address, look for it in the exception tables. */
static
const
struct
exception_table_entry
*
search_dbe_tables
(
unsigned
long
addr
)
...
...
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