OpenVZ Forum


Home » General » Support » Compiling rhel6-042stab016.1 ERROR
Re: Compiling rhel6-042stab016.1 ERROR [message #47658 is a reply to message #42852] Wed, 22 August 2012 09:49 Go to previous message
csurgi is currently offline  csurgi
Messages: 1
Registered: August 2012
Junior Member
replace the kernel/rh_taint.c mark_tech_preview function with the following:
void mark_tech_preview(const char *msg, struct module *mod)
{
        const char *str = NULL;

        if (msg)
                str = msg;
#ifdef CONFIG_MODULES
        else if (mod && mod->name)
                str = mod->name;
#endif

        pr_warning("TECH PREVIEW: %s may not be fully supported.\n"
                   "Please review provided documentation for limitations.\n",
                   (str ? str : "kernel"));
        add_taint(TAINT_TECH_PREVIEW);
#ifdef CONFIG_MODULES
        if (mod)
                mod->taints |= (1U << TAINT_TECH_PREVIEW);
#endif
}


I've just added the #indef and #endif lines, to support monolithic kernels..
 
Read Message
Read Message
Previous Topic: Overlay filesystems in OpenVZ kernel
Next Topic: Does OpenVZ require Hyper-Threading
Goto Forum:
  


Current Time: Sun Jul 20 02:25:03 GMT 2025

Total time taken to generate the page: 0.08142 seconds