Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/linux_kernel_development/1.empty.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ The parameters API in Rust is not yet available in the mainstream kernel. We wil

To download this version, please use `git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git`.
To compile this version with the same configuration, please copy the `.config` file from the stable kernel folder to
this kernel folder and run `make -jn` where `n` is replaced by the number of cores that your laptop has.
this kernel folder and run `make LLVM=1 -jn` where `n` is replaced by the number of cores that your laptop has.
:::

Parameters are defined in the `module!` macro using the `params` filed.
Expand Down Expand Up @@ -295,4 +295,4 @@ Make sure to export both `$KDIR` and `$INIT_RAM_FS` variables before running the
Add two `u8` parameters to the module and print their sum in the init message. Make sure you:
- boot the `next` version of the kernel
- set the correct `$KDIR` path to the `next` version of the kernel
- run `make rust-analyuzer` with the correct `$KDIR` path pointing to the next version of the kernel
- run `make rust-analyzer` with the correct `$KDIR` path pointing to the next version of the kernel