[EMAIL PROTECTED] said:
> #ifdef CONFIG_MODULES

        /* use get_module_symbol() */

> #else

        /* reference agp_* directly */

> #endif


Don't you need to deal with the !CONFIG_AGP case correctly? 

#ifdef CONFIG_MODULES
        /* blah */
#elif CONFIG_AGP
        /* blah */
        agp_available = 1;
#else
        agp_available = 0;
#endif


[EMAIL PROTECTED] said:
> [Note that the other way to fix this would be to export
> get_module_symbol all the time, and have it just search the available
> symbol space if CONFIG_MODULES is 'n'.]

There is no available symbol space if CONFIG_MODULES is 'n'. 

--
dwmw2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to