Commit dd2fde10 authored by Oded Gabbay's avatar Oded Gabbay

habanalabs: rename mmu_write() to mmu_asid_va_write()

The function name conflicts with a static inline function in
arch/m68k/include/asm/mcfmmu.h
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reviewed-by: default avatarTomer Tayar <ttayar@habana.ai>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent cfd4176d
...@@ -480,7 +480,7 @@ static int mmu_show(struct seq_file *s, void *data) ...@@ -480,7 +480,7 @@ static int mmu_show(struct seq_file *s, void *data)
return 0; return 0;
} }
static ssize_t mmu_write(struct file *file, const char __user *buf, static ssize_t mmu_asid_va_write(struct file *file, const char __user *buf,
size_t count, loff_t *f_pos) size_t count, loff_t *f_pos)
{ {
struct seq_file *s = file->private_data; struct seq_file *s = file->private_data;
...@@ -1125,7 +1125,7 @@ static const struct hl_info_list hl_debugfs_list[] = { ...@@ -1125,7 +1125,7 @@ static const struct hl_info_list hl_debugfs_list[] = {
{"command_submission_jobs", command_submission_jobs_show, NULL}, {"command_submission_jobs", command_submission_jobs_show, NULL},
{"userptr", userptr_show, NULL}, {"userptr", userptr_show, NULL},
{"vm", vm_show, NULL}, {"vm", vm_show, NULL},
{"mmu", mmu_show, mmu_write}, {"mmu", mmu_show, mmu_asid_va_write},
{"engines", engines_show, NULL} {"engines", engines_show, NULL}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment