Sign in
android-kvm
/
linux
/
2b2c0f24bac75bfdf2de9f4ea0912946ce5bf5c8
/
.
/
arch
/
riscv
/
kernel
/
vdso
/
gen_vdso_offsets.sh
blob: c2e5613f3495109bc0faffca0a5782ade871a1f3 [
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 \2_offset\t0x\1/p'