mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-05-17 19:09:38 +00:00
595.71.05
This commit is contained in:
@@ -363,7 +363,8 @@ check_symbol_exists() {
|
||||
for KMOD in linuxkpi.ko linuxkpi_gplv2.ko drm.ko dmabuf.ko ; do
|
||||
for KMODPATH in $KMODPATHS; do
|
||||
if [ -e "$KMODPATH/$KMOD" ] ; then
|
||||
if nm "$KMODPATH/$KMOD" | grep "$SYMBOL" >/dev/null 2>&1 ; then
|
||||
# Search if this symbol is a global text symbol in nm output
|
||||
if nm "$KMODPATH/$KMOD" | grep "T.*$SYMBOL" >/dev/null 2>&1 ; then
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user