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
4b684d78
Commit
4b684d78
authored
Oct 22, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATY]: Fix build on sparc after viro sparse changes.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
5f3d1af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/video/aty/atyfb_base.c
drivers/video/aty/atyfb_base.c
+4
-2
No files found.
drivers/video/aty/atyfb_base.c
View file @
4b684d78
...
...
@@ -1978,7 +1978,8 @@ int __init atyfb_do_init(void)
/*
* Map memory-mapped registers.
*/
default_par
->
ati_regbase
=
addr
+
0x7ffc00UL
;
default_par
->
ati_regbase
=
(
void
__iomem
*
)
(
addr
+
0x7ffc00UL
);
info
->
fix
.
mmio_start
=
addr
+
0x7ffc00UL
;
/*
...
...
@@ -2289,7 +2290,8 @@ int __init atyfb_do_init(void)
default_par
->
mmap_map
[
0
].
voff
+
info
->
fix
.
smem_len
;
default_par
->
mmap_map
[
1
].
poff
=
default_par
->
ati_regbase
&
PAGE_MASK
;
((
unsigned
long
)
default_par
->
ati_regbase
&
PAGE_MASK
);
default_par
->
mmap_map
[
1
].
size
=
PAGE_SIZE
;
default_par
->
mmap_map
[
1
].
prot_mask
=
_PAGE_CACHE
;
default_par
->
mmap_map
[
1
].
prot_flag
=
_PAGE_E
;
...
...
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