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
47a55c50
Commit
47a55c50
authored
Jun 25, 2003
by
Rob Radez
Committed by
David S. Miller
Jun 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Do not use __builtin_trap() on sparc until gcc is fixed.
parent
32c48b6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
include/asm-sparc/bug.h
include/asm-sparc/bug.h
+7
-2
No files found.
include/asm-sparc/bug.h
View file @
47a55c50
...
...
@@ -2,14 +2,19 @@
#ifndef _SPARC_BUG_H
#define _SPARC_BUG_H
/* Only use the inline asm until a gcc release that can handle __builtin_trap
* -rob 2003-06-25 */
#define __bug_trap() \
__asm__ __volatile__ ("t 0x5\n\t" : : )
#ifdef CONFIG_DEBUG_BUGVERBOSE
extern
void
do_BUG
(
const
char
*
file
,
int
line
);
#define BUG() do { \
do_BUG(__FILE__, __LINE__); \
__bu
iltin
_trap(); \
__bu
g
_trap(); \
} while (0)
#else
#define BUG() __bu
iltin
_trap()
#define BUG() __bu
g
_trap()
#endif
#define BUG_ON(condition) do { \
...
...
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