diff options
author | Joe Perches <joe@perches.com> | 2008-03-26 14:10:02 -0700 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-19 10:04:20 +1000 |
commit | c72580129209aaa509ace81c1f2ee1caa9c9774b (patch) | |
tree | 396b774314f154b04cb6e4532042a38eafab809a /include/linux/agp_backend.h | |
parent | da503fa60b84d5945deb3ab74efdd0bec61df4a1 (diff) | |
download | linux-stable-c72580129209aaa509ace81c1f2ee1caa9c9774b.tar.gz linux-stable-c72580129209aaa509ace81c1f2ee1caa9c9774b.tar.bz2 linux-stable-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 'include/linux/agp_backend.h')
-rw-r--r-- | include/linux/agp_backend.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/include/linux/agp_backend.h b/include/linux/agp_backend.h index 661d90d6cf7c..09b4478ffacd 100644 --- a/include/linux/agp_backend.h +++ b/include/linux/agp_backend.h @@ -30,14 +30,6 @@ #ifndef _AGP_BACKEND_H #define _AGP_BACKEND_H 1 -#ifndef TRUE -#define TRUE 1 -#endif - -#ifndef FALSE -#define FALSE 0 -#endif - enum chipset_type { NOT_SUPPORTED, SUPPORTED, @@ -57,7 +49,7 @@ struct agp_kern_info { size_t aper_size; int max_memory; /* In pages */ int current_memory; - int cant_use_aperture; + bool cant_use_aperture; unsigned long page_mask; struct vm_operations_struct *vm_ops; }; @@ -83,8 +75,8 @@ struct agp_memory { off_t pg_start; u32 type; u32 physical; - u8 is_bound; - u8 is_flushed; + bool is_bound; + bool is_flushed; u8 vmalloc_flag; }; |