I want to read some Linux Kernel source code, and I found LXR. It's great, but sometimes when I click on some function, like 'kfree', and I got this:
When 'link' using ld, there must be no conflicts. So the question is : How to determine which one is THE ONE??? (I think gcc+makefile is the solution, but I don't know how to do it...)
Thanks!
Here is another linux cross reference search, with maybe more detailed information
https://code-grep.com/view/project/54b083273b2082684a000008/linux-3.19-rc2?search=kfree&type=definitions&page=0
As you can see, some are preprocessor definitions and some are function. To know which one is the correct one, you can check out the config options, typically in .config file of the kernel.