summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-19 10:42:17 +1000
committerDave Airlie <airlied@redhat.com>2008-06-19 10:42:17 +1000
commit9516b030b484fc99cf24213caf88df01f99248dd (patch)
treeffe28d3a70d9f7b29eb9f438e52e78d79f5e3ad1 /include/linux
parentc72580129209aaa509ace81c1f2ee1caa9c9774b (diff)
agp: more boolean conversions.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/agp_backend.h2
-rw-r--r--include/linux/agpgart.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/agp_backend.h b/include/linux/agp_backend.h
index 09b4478ffacd..972b12bcfb36 100644
--- a/include/linux/agp_backend.h
+++ b/include/linux/agp_backend.h
@@ -77,7 +77,7 @@ struct agp_memory {
u32 physical;
bool is_bound;
bool is_flushed;
- u8 vmalloc_flag;
+ bool vmalloc_flag;
};
#define AGP_NORMAL_MEMORY 0
diff --git a/include/linux/agpgart.h b/include/linux/agpgart.h
index 62aef589eb94..c8fdb6e658e1 100644
--- a/include/linux/agpgart.h
+++ b/include/linux/agpgart.h
@@ -206,8 +206,8 @@ struct agp_front_data {
struct agp_controller *current_controller;
struct agp_controller *controllers;
struct agp_file_private *file_priv_list;
- u8 used_by_controller;
- u8 backend_acquired;
+ bool used_by_controller;
+ bool backend_acquired;
};
#endif /* __KERNEL__ */