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
nexedi
linux
Commits
65a9be15
Commit
65a9be15
authored
Sep 11, 2003
by
Meelis Roos
Committed by
David S. Miller
Sep 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: BUG on positive addresses in vga.h
parent
3d06d03d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
include/asm-sparc64/vga.h
include/asm-sparc64/vga.h
+6
-8
No files found.
include/asm-sparc64/vga.h
View file @
65a9be15
...
...
@@ -13,18 +13,16 @@
static
inline
void
scr_writew
(
u16
val
,
u16
*
addr
)
{
if
((
long
)
addr
<
0
)
BUG_ON
((
long
)
addr
>=
0
);
*
addr
=
val
;
else
writew
(
val
,
(
unsigned
long
)
addr
);
}
static
inline
u16
scr_readw
(
const
u16
*
addr
)
{
if
((
long
)
addr
<
0
)
BUG_ON
((
long
)
addr
>=
0
);
return
*
addr
;
else
return
readw
((
unsigned
long
)
addr
);
}
#define VGA_MAP_MEM(x) (x)
...
...
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