Sign in
android-kvm
/
linux
/
1e3cd03c54b76b4cbc8b31256dc3f18c417a6876
/
.
/
arch
/
riscv
/
kernel
/
compat_vdso
/
gen_compat_vdso_offsets.sh
blob: 8ac070c783b378ab8c25bb89ef7ca7fbf2af9dfa [
file
] [
log
] [
blame
]
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
LC_ALL
=
C
sed
-
n
-
e
's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define compat\2_offset\t0x\1/p'