Skip to content

Commit

Permalink
Changes warning for kernel version.
Browse files Browse the repository at this point in the history
Not everyone uses Grub.
  • Loading branch information
kevinlekiller authored Aug 28, 2021
1 parent 02eb745 commit ef95eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amdctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0)
#warning Incompatible kernel! MSR access deprecated by your Linux kernel! To use this program, you must set GRUB_CMDLINE_LINUX="msr.allow_writes=on" kernel parameter in the file /etc/default/grub and run upgrade-grub.
#warning Incompatible kernel! MSR access deprecated by your Linux kernel! To use this program, set the kernel parameter "msr.allow_writes=on" or set "/sys/module/msr/parameters/allow_writes" to "on" at runtime.
#endif

void printBaseFmt(const int);
Expand Down

0 comments on commit ef95eb6

Please sign in to comment.