[PATCH v2 13/18] uaccess: generalize access_ok()

Christoph Hellwig hch at lst.de
Thu Feb 17 22:34:50 PST 2022


> +#include <asm-generic/access_ok.h>

Instead of the asm-generic games, shouldn't we just define access_ok in
<linux/uaccess.h> if not already defined by the architecture?



More information about the linux-riscv mailing list