Deleted Added
full compact
vmalloc.h (271127) vmalloc.h (273246)
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#ifndef _LINUX_VMALLOC_H_
31#define _LINUX_VMALLOC_H_
32
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#ifndef _LINUX_VMALLOC_H_
31#define _LINUX_VMALLOC_H_
32
33#include <asm/page.h>
33#include <linux/page.h>
34
35#define VM_MAP 0x0000
36#define PAGE_KERNEL 0x0000
37
38void *vmap(struct page **pages, unsigned int count, unsigned long flags,
39 int prot);
40void vunmap(void *addr);
41
42#endif /* _LINUX_VMALLOC_H_ */
34
35#define VM_MAP 0x0000
36#define PAGE_KERNEL 0x0000
37
38void *vmap(struct page **pages, unsigned int count, unsigned long flags,
39 int prot);
40void vunmap(void *addr);
41
42#endif /* _LINUX_VMALLOC_H_ */