@@ -99,7 +99,7 @@ namespace fs = std::filesystem;
9999
100100namespace {
101101
102- GENERATE_CONST_LOOKUP_OPTION_VALUES (kernel_name, " cachyos" , " bore" , " rc" , " rt" , " eevdf" , " bmq" )
102+ GENERATE_CONST_LOOKUP_OPTION_VALUES (kernel_name, " cachyos" , " bore" , " rc" , " rt" , " lts " , " eevdf" , " bmq" )
103103GENERATE_CONST_LOOKUP_OPTION_VALUES (hz_tick, " 1000" , " 750" , " 600" , " 500" , " 300" , " 250" , " 100" )
104104GENERATE_CONST_LOOKUP_OPTION_VALUES (tickless_mode, " full" , " idle" , " perodic" )
105105GENERATE_CONST_LOOKUP_OPTION_VALUES (preempt_mode, " full" , " lazy" , " voluntary" , " none" )
@@ -113,8 +113,9 @@ static_assert(lookup_kernel_name("cachyos") == 0, "Invalid position");
113113static_assert (lookup_kernel_name (" bore" ) == 1 , " Invalid position" );
114114static_assert (lookup_kernel_name (" rc" ) == 2 , " Invalid position" );
115115static_assert (lookup_kernel_name (" rt" ) == 3 , " Invalid position" );
116- static_assert (lookup_kernel_name (" eevdf" ) == 4 , " Invalid position" );
117- static_assert (lookup_kernel_name (" bmq" ) == 5 , " Invalid position" );
116+ static_assert (lookup_kernel_name (" lts" ) == 4 , " Invalid position" );
117+ static_assert (lookup_kernel_name (" eevdf" ) == 5 , " Invalid position" );
118+ static_assert (lookup_kernel_name (" bmq" ) == 6 , " Invalid position" );
118119
119120constexpr auto get_kernel_name_path (std::string_view kernel_name) noexcept {
120121 using namespace std ::string_view_literals;
@@ -470,6 +471,7 @@ ConfWindow::ConfWindow(QWidget* parent)
470471 << tr (" BORE - Burst-Oriented Response Enhancer" )
471472 << tr (" RC - Release Candidate" )
472473 << tr (" RT - Realtime kernel" )
474+ << tr (" LTS - Long-term support kernel" )
473475 << tr (" EEVDF" )
474476 << tr (" BMQ (BitMap Queue)" );
475477 options_page_ui_obj->main_combo_box ->addItems (kernel_names);
0 commit comments