Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24491
b: refs/heads/master
c: 05613bd
h: refs/heads/master
i:
  24489: 1530986
  24487: 1797dab
v: v3
  • Loading branch information
Marcelo Feitoza Parisi authored and Linus Torvalds committed Mar 28, 2006
1 parent c55d737 commit 05dcfe5
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 50297cbf07427b47f0fff5ade8e21cdabf860249
refs/heads/master: 05613bdd8647bfc4535b0dcc8f1b95c8b39be394
3 changes: 2 additions & 1 deletion trunk/drivers/char/agp/nvidia-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <linux/gfp.h>
#include <linux/page-flags.h>
#include <linux/mm.h>
#include <linux/jiffies.h>
#include "agp.h"

/* NVIDIA registers */
Expand Down Expand Up @@ -256,7 +257,7 @@ static void nvidia_tlbflush(struct agp_memory *mem)
do {
pci_read_config_dword(nvidia_private.dev_1,
NVIDIA_1_WBC, &wbc_reg);
if ((signed)(end - jiffies) <= 0) {
if (time_before_eq(end, jiffies)) {
printk(KERN_ERR PFX
"TLB flush took more than 3 seconds.\n");
}
Expand Down

0 comments on commit 05dcfe5

Please sign in to comment.