I'm writing a new system call named icsys, i want to write something to the console when this system call is invoked.
i tried calling write() from icsys() but during compilation of kernel i received multiple definition error for several functions in read_write.c.
how to print to a console from a system call.
please someone help me with this

i'm using kernel