diff options
Diffstat (limited to 'drivers/char/agp/sgi-agp.c')
| -rw-r--r-- | drivers/char/agp/sgi-agp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/agp/sgi-agp.c b/drivers/char/agp/sgi-agp.c index 98cf8abb3e57..b972d83bb1b2 100644 --- a/drivers/char/agp/sgi-agp.c +++ b/drivers/char/agp/sgi-agp.c | |||
| @@ -182,9 +182,9 @@ static int sgi_tioca_insert_memory(struct agp_memory *mem, off_t pg_start, | |||
| 182 | j++; | 182 | j++; |
| 183 | } | 183 | } |
| 184 | 184 | ||
| 185 | if (mem->is_flushed == FALSE) { | 185 | if (!mem->is_flushed) { |
| 186 | bridge->driver->cache_flush(); | 186 | bridge->driver->cache_flush(); |
| 187 | mem->is_flushed = TRUE; | 187 | mem->is_flushed = true; |
| 188 | } | 188 | } |
| 189 | 189 | ||
| 190 | for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { | 190 | for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { |
| @@ -264,8 +264,8 @@ const struct agp_bridge_driver sgi_tioca_driver = { | |||
| 264 | .agp_alloc_page = sgi_tioca_alloc_page, | 264 | .agp_alloc_page = sgi_tioca_alloc_page, |
| 265 | .agp_destroy_page = agp_generic_destroy_page, | 265 | .agp_destroy_page = agp_generic_destroy_page, |
| 266 | .agp_type_to_mask_type = agp_generic_type_to_mask_type, | 266 | .agp_type_to_mask_type = agp_generic_type_to_mask_type, |
| 267 | .cant_use_aperture = 1, | 267 | .cant_use_aperture = true, |
| 268 | .needs_scratch_page = 0, | 268 | .needs_scratch_page = false, |
| 269 | .num_aperture_sizes = 1, | 269 | .num_aperture_sizes = 1, |
| 270 | }; | 270 | }; |
| 271 | 271 | ||
