summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/amd-k7-agp.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2008-03-26 14:10:02 -0700
committerDave Airlie <airlied@redhat.com>2008-06-19 10:04:20 +1000
commitc72580129209aaa509ace81c1f2ee1caa9c9774b (patch)
tree396b774314f154b04cb6e4532042a38eafab809a /drivers/char/agp/amd-k7-agp.c
parentda503fa60b84d5945deb3ab74efdd0bec61df4a1 (diff)
downloadkernel-crypto-c72580129209aaa509ace81c1f2ee1caa9c9774b.tar.gz
kernel-crypto-c72580129209aaa509ace81c1f2ee1caa9c9774b.tar.xz
kernel-crypto-c72580129209aaa509ace81c1f2ee1caa9c9774b.zip
drivers/char/agp - use bool
Use boolean in AGP instead of having own TRUE/FALSE -- Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/agp/amd-k7-agp.c')
-rw-r--r--drivers/char/agp/amd-k7-agp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c
index 96bdb9296b0..39a0718bc61 100644
--- a/drivers/char/agp/amd-k7-agp.c
+++ b/drivers/char/agp/amd-k7-agp.c
@@ -314,9 +314,9 @@ static int amd_insert_memory(struct agp_memory *mem, off_t pg_start, int type)
j++;
}
- if (mem->is_flushed == FALSE) {
+ if (!mem->is_flushed) {
global_cache_flush();
- mem->is_flushed = TRUE;
+ mem->is_flushed = true;
}
for (i = 0, j = pg_start; i < mem->page_count; i++, j++) {