linux/arch/x86/lib/usercopy_64.c

// SPDX-License-Identifier: GPL-2.0-only
/* 
 * User address space access functions.
 *
 * Copyright 1997 Andi Kleen <[email protected]>
 * Copyright 1997 Linus Torvalds
 * Copyright 2002 Andi Kleen <[email protected]>
 */
#include <linux/export.h>
#include <linux/uaccess.h>
#include <linux/highmem.h>
#include <linux/libnvdimm.h>

/*
 * Zero Userspace
 */

#ifdef CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE
/**
 * clean_cache_range - write back a cache range with CLWB
 * @vaddr:	virtual start address
 * @size:	number of bytes to write back
 *
 * Write back a cache range using the CLWB (cache line write back)
 * instruction. Note that @size is internally rounded up to be cache
 * line size aligned.
 */
static void clean_cache_range(void *addr, size_t size)
{}

void arch_wb_cache_pmem(void *addr, size_t size)
{}
EXPORT_SYMBOL_GPL();

long __copy_user_flushcache(void *dst, const void __user *src, unsigned size)
{}

void __memcpy_flushcache(void *_dst, const void *_src, size_t size)
{}
EXPORT_SYMBOL_GPL();
#endif