mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 18:41:48 +00:00
4e85fb831a
Commit e9da6e9905
("ARM: dma-mapping:
remove custom consistent dma region") removed the last users of the
field. Remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
32 lines
814 B
C
32 lines
814 B
C
#ifndef VMREGION_H
|
|
#define VMREGION_H
|
|
|
|
#include <linux/spinlock.h>
|
|
#include <linux/list.h>
|
|
|
|
struct page;
|
|
|
|
struct arm_vmregion_head {
|
|
spinlock_t vm_lock;
|
|
struct list_head vm_list;
|
|
unsigned long vm_start;
|
|
unsigned long vm_end;
|
|
};
|
|
|
|
struct arm_vmregion {
|
|
struct list_head vm_list;
|
|
unsigned long vm_start;
|
|
unsigned long vm_end;
|
|
int vm_active;
|
|
const void *caller;
|
|
};
|
|
|
|
struct arm_vmregion *arm_vmregion_alloc(struct arm_vmregion_head *, size_t, size_t, gfp_t, const void *);
|
|
struct arm_vmregion *arm_vmregion_find(struct arm_vmregion_head *, unsigned long);
|
|
struct arm_vmregion *arm_vmregion_find_remove(struct arm_vmregion_head *, unsigned long);
|
|
void arm_vmregion_free(struct arm_vmregion_head *, struct arm_vmregion *);
|
|
|
|
int arm_vmregion_create_proc(const char *, struct arm_vmregion_head *);
|
|
|
|
#endif
|