Resolving missing external symbols at module load time.
From: Jon Smirl
Date: Fri Oct 22 2004 - 16:02:57 EST
I'm looking at how to get rid of the inter_module_get calls in DRM to
AGP. What is the proper procedure to reference an external symbol that
may be any of the following:
1) compiled in
2) module that is loaded
3) non-existent since the system doesn't have the hardware
With inter_module_get() #1 and #2 would succeed and return a pointer
to the module. #3 would fail. The DRM code then handled each of these
cases. I've been looking at the new module calls and and I can't see
how to make this work.
The symbol resolution also needs to work if DRM is compiled in and the
system has no AGP support.
--
Jon Smirl
jonsmirl@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/