aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/vme.h
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2015-05-28 15:07:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-12 17:26:57 -0700
commitef73f886b53548d83d71a439f51a0c13ea6c1dae (patch)
tree44fa45ec03c5a6695de4ec326f3efe9979a1f58d /include/linux/vme.h
parentvme: check for A64 overflow in vme_check_window() (diff)
downloadlinux-dev-ef73f886b53548d83d71a439f51a0c13ea6c1dae.tar.xz
linux-dev-ef73f886b53548d83d71a439f51a0c13ea6c1dae.zip
vme: export vme_check_window()
Signed-off-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Cc: Igor Alekseev <igor.alekseev@itep.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/vme.h')
-rw-r--r--include/linux/vme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/vme.h b/include/linux/vme.h
index 79242e9c06b8..c0131358f351 100644
--- a/include/linux/vme.h
+++ b/include/linux/vme.h
@@ -120,6 +120,8 @@ void vme_free_consistent(struct vme_resource *, size_t, void *,
dma_addr_t);
size_t vme_get_size(struct vme_resource *);
+int vme_check_window(u32 aspace, unsigned long long vme_base,
+ unsigned long long size);
struct vme_resource *vme_slave_request(struct vme_dev *, u32, u32);
int vme_slave_set(struct vme_resource *, int, unsigned long long,