Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25847
b: refs/heads/master
c: 1f60245
h: refs/heads/master
i:
  25845: a827506
  25843: 765ed04
  25839: e3e9459
v: v3
  • Loading branch information
H. Peter Anvin authored and Linus Torvalds committed Apr 15, 2006
1 parent bb3a3fb commit c1f7f1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d73135e55c47ca909c1fbd68f45623b16dc0211
refs/heads/master: 1f60245479ca6d4d3f2cf4a47c7dd18caf5afdf2
8 changes: 7 additions & 1 deletion trunk/drivers/char/agp/efficeon-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ static struct gatt_mask efficeon_generic_masks[] =
{.mask = 0x00000001, .type = 0}
};

/* This function does the same thing as mask_memory() for this chipset... */
static inline unsigned long efficeon_mask_memory(unsigned long addr)
{
return addr | 0x00000001;
}

static struct aper_size_info_lvl2 efficeon_generic_sizes[4] =
{
{256, 65536, 0},
Expand Down Expand Up @@ -251,7 +257,7 @@ static int efficeon_insert_memory(struct agp_memory * mem, off_t pg_start, int t
last_page = NULL;
for (i = 0; i < count; i++) {
int index = pg_start + i;
unsigned long insert = mem->memory[i];
unsigned long insert = efficeon_mask_memory(mem->memory[i]);

page = (unsigned int *) efficeon_private.l1_table[index >> 10];

Expand Down

0 comments on commit c1f7f1b

Please sign in to comment.