I want use pte_wrportect func to protect an address which ioremap return.
char * addr;
addr = ioremap(0x207f700000,PAGE_SIZE);
how to do next ?
I want use pte_wrportect func to protect an address which ioremap return.
char * addr;
addr = ioremap(0x207f700000,PAGE_SIZE);
how to do next ?
Use the function
use
#include <linux/set_memory.h>