repo.or.cz
/
drm
/
drm-misc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git]
/
arch
/
riscv
/
kernel
/
compat_vdso
/
gen_compat_vdso_offsets.sh
blob
8ac070c783b378ab8c25bb89ef7ca7fbf2af9dfa
1
#!/bin/sh
2
# SPDX-License-Identifier: GPL-2.0
3
4
LC_ALL
=
C
5
sed
-n -e
's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define compat\2_offset
\t
0x\1/p'