x86: move defconfig files for i386 and x86_64 to x86
[safe/jmp/linux-2.6] / scripts / kconfig / menu.c
index f14aeac..f9d0d91 100644 (file)
@@ -417,3 +417,15 @@ struct menu *menu_get_parent_menu(struct menu *menu)
        return menu;
 }
 
+bool menu_has_help(struct menu *menu)
+{
+       return menu->help != NULL;
+}
+
+const char *menu_get_help(struct menu *menu)
+{
+       if (menu->help)
+               return menu->help;
+       else
+               return "";
+}