diff options
Diffstat (limited to 'driver/common.h')
-rw-r--r-- | driver/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/common.h b/driver/common.h index 75005e9..6bc1329 100644 --- a/driver/common.h +++ b/driver/common.h @@ -1,7 +1,7 @@ #ifndef _PCIDRIVER_COMMON_H #define _PCIDRIVER_COMMON_H -#include "../kmem.h" +#include "../pcilib/kmem.h" /*************************************************************************/ /* Private data types and structures */ @@ -64,6 +64,7 @@ typedef struct { spinlock_t kmemlist_lock; /* Spinlock to lock kmem list operations */ struct list_head kmem_list; /* List of 'kmem_list_entry's associated with this device */ + pcidriver_kmem_entry_t *kmem_last_sync; /* Last accessed kmem entry */ atomic_t kmem_count; /* id for next kmem entry */ int kmem_cur_id; /* Currently selected kmem buffer, for mmap */ |