lindebugfs may be used independently of the lkpi. This allows it to call linux_alloc_current without having a static dependency.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 22626
Event Timeline
| sys/compat/linuxkpi/common/include/linux/compat.h | ||
|---|---|---|
| 49 | For sake of optimisation I want you to always set the lkpi_alloc_current pointer. I.E. In main make a lkpi_default_alloc_current() function, which is used to initialize the pointer and does nothing. | |
Comment Actions
Looks good.
| sys/kern/init_main.c | ||
|---|---|---|
| 113 | I wonder if it is more correct that the noop function returns EINVAL, or something like that. | |