]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/agpgart.h
KVM: Portability: Move structure lapic_state to <asm/kvm.h>
[linux-2.6-omap-h63xx.git] / include / linux / agpgart.h
index 6d59c8efe3be2a1be4b1bb559bb506c551d3c213..09fbf7e5a6cbbbba0b3fe6991f4aefa494e937a4 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef _AGP_H
 #define _AGP_H 1
 
-#include <linux/agp_backend.h>
-
 #define AGPIOC_BASE       'A'
 #define AGPIOC_INFO       _IOR (AGPIOC_BASE, 0, struct agp_info*)
 #define AGPIOC_ACQUIRE    _IO  (AGPIOC_BASE, 1)
@@ -112,6 +110,7 @@ typedef struct _agp_unbind {
 
 #else                          /* __KERNEL__ */
 #include <linux/mutex.h>
+#include <linux/agp_backend.h>
 
 #define AGPGART_MINOR 175
 
@@ -198,7 +197,7 @@ struct agp_file_private {
        struct agp_file_private *next;
        struct agp_file_private *prev;
        pid_t my_pid;
-       long access_flags;      /* long req'd for set_bit --RR */
+       unsigned long access_flags;     /* long req'd for set_bit --RR */
 };
 
 struct agp_front_data {