https://github.com/torvalds/linux
Revision 6137e4166004e2ec383ac05d5ca15831f4668806 authored by Max Filippov on 15 February 2018, 00:12:54 UTC, committed by Max Filippov on 17 February 2018, 03:19:54 UTC
If a DMA buffer is allocated in high memory and kernel mapping is
required use dma_common_contiguous_remap to map buffer to the vmalloc
region and dma_common_free_remap to unmap it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
1 parent 6ac5a11
Raw File
Tip revision: 6137e4166004e2ec383ac05d5ca15831f4668806 authored by Max Filippov on 15 February 2018, 00:12:54 UTC
xtensa: support DMA buffers in high memory
Tip revision: 6137e41
locking-selftest-wsem.h
/* SPDX-License-Identifier: GPL-2.0 */
#undef LOCK
#define LOCK		WSL

#undef UNLOCK
#define UNLOCK		WSU

#undef RLOCK
#define RLOCK		RSL

#undef WLOCK
#define WLOCK		WSL

#undef INIT
#define INIT		RWSI
back to top