Messages in this thread |  | | | From | David Woodhouse <> | | Subject | Re: [PATCH] Make agpsupport work with modversions | | Date | Wed, 18 Oct 2000 19:23:54 +0100 |
| |
faith@valinux.com 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
faith@valinux.com 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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |