Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163946
b: refs/heads/master
c: ed017d9
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie committed Sep 1, 2009
1 parent 0376451 commit ccec96f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: fa8a123855e20068204982596b8fafceb1a67f0b
refs/heads/master: ed017d9fb17af3162f5acf922eb5731c541e1f3a
9 changes: 3 additions & 6 deletions trunk/drivers/gpu/drm/drm_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,8 @@ drm_clflush_ipi_handler(void *null)
{
wbinvd();
}
#elif !defined(__powerpc__)
static void drm_cache_ipi_handler(void *dummy)
{
}
#endif

void
drm_clflush_pages(struct page *pages[], unsigned long num_pages)
{
Expand Down Expand Up @@ -95,8 +92,8 @@ drm_clflush_pages(struct page *pages[], unsigned long num_pages)
kunmap_atomic(page_virtual, KM_USER0);
}
#else
if (on_each_cpu(drm_clflush_ipi_handler, NULL, 1) != 0)
printk(KERN_ERR "Timed out waiting for drm cache flush\n");
printk(KERN_ERR "Architecture has no drm_cache.c support\n");
WARN_ON_ONCE(1);
#endif
}
EXPORT_SYMBOL(drm_clflush_pages);

0 comments on commit ccec96f

Please sign in to comment.