lkml.org 
[lkml]   [2000]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Make agpsupport work with modversions
Date


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/

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2011 Jasper Spaans