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
2205cdc5
Commit
2205cdc5
authored
Jul 09, 2003
by
Dave Jones
Committed by
Dave Jones
Jul 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Remove unneeded assignment.
parent
94573589
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
drivers/char/agp/amd-k8-agp.c
drivers/char/agp/amd-k8-agp.c
+1
-3
No files found.
drivers/char/agp/amd-k8-agp.c
View file @
2205cdc5
...
@@ -49,7 +49,6 @@ static int x86_64_insert_memory(struct agp_memory *mem, off_t pg_start, int type
...
@@ -49,7 +49,6 @@ static int x86_64_insert_memory(struct agp_memory *mem, off_t pg_start, int type
int
i
,
j
,
num_entries
;
int
i
,
j
,
num_entries
;
long
tmp
;
long
tmp
;
u32
pte
;
u32
pte
;
u64
addr
;
num_entries
=
agp_num_entries
();
num_entries
=
agp_num_entries
();
...
@@ -76,9 +75,8 @@ static int x86_64_insert_memory(struct agp_memory *mem, off_t pg_start, int type
...
@@ -76,9 +75,8 @@ static int x86_64_insert_memory(struct agp_memory *mem, off_t pg_start, int type
}
}
for
(
i
=
0
,
j
=
pg_start
;
i
<
mem
->
page_count
;
i
++
,
j
++
)
{
for
(
i
=
0
,
j
=
pg_start
;
i
<
mem
->
page_count
;
i
++
,
j
++
)
{
addr
=
agp_bridge
->
driver
->
mask_memory
(
mem
->
memory
[
i
],
mem
->
type
);
tmp
=
agp_bridge
->
driver
->
mask_memory
(
mem
->
memory
[
i
],
mem
->
type
);
tmp
=
addr
;
BUG_ON
(
tmp
&
0xffffff0000000ffc
);
BUG_ON
(
tmp
&
0xffffff0000000ffc
);
pte
=
(
tmp
&
0x000000ff00000000
)
>>
28
;
pte
=
(
tmp
&
0x000000ff00000000
)
>>
28
;
pte
|=
(
tmp
&
0x00000000fffff000
);
pte
|=
(
tmp
&
0x00000000fffff000
);
...
...
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