diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-09-13 14:39:50 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-09-19 22:46:45 -0700 |
commit | d7320bfcddc596f23fa2b7166e447a0747139199 (patch) | |
tree | 489bf2939bf41c283da25c0f8228753a6bb40d50 /amdgpu/amdgpu_vm.c | |
parent | 6229895cc5c99070db17c7e5413e6bf33fc7f618 (diff) | |
download | external_libdrm-d7320bfcddc596f23fa2b7166e447a0747139199.tar.gz external_libdrm-d7320bfcddc596f23fa2b7166e447a0747139199.tar.bz2 external_libdrm-d7320bfcddc596f23fa2b7166e447a0747139199.zip |
nouveau: annotate public functions
This was done with:
nm --dynamic --defined-only build/nouveau/libdrm_nouveau.so | \
grep nouveau_ | \
cut -d ' ' -f3 > /tmp/a.txt
while read sym; do
read f func line _ <<<$(cscope -d -L -1 $sym)
if [ ! -z "$f" ]; then
line=$((line-1))
sed -i "${line}s/^/drm_public /" $f
fi
done < /tmp/a.txt
Then some corner cases were manually fixed. The idea here will be to
switch the default visibility to hidden so we don't export symbols we
shouldn't.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Diffstat (limited to 'amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions