Linux Audio

Check our new training course

In-person Linux kernel drivers training

Jun 16-20, 2025
Register
Loading...
Note: File does not exist in v5.9.
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * Copyright (c) 2021 Western Digital Corporation or its affiliates.
 4 */
 5
 6#include <asm/dma-noncoherent.h>
 7
 8struct riscv_nonstd_cache_ops noncoherent_cache_ops __ro_after_init;
 9
10void
11riscv_noncoherent_register_cache_ops(const struct riscv_nonstd_cache_ops *ops)
12{
13	if (!ops)
14		return;
15	noncoherent_cache_ops = *ops;
16}
17EXPORT_SYMBOL_GPL(riscv_noncoherent_register_cache_ops);