drm/rockchip: vop2: Fix the windows switch between different layers
[drm/drm-misc.git] / arch / riscv / kernel / vdso / gen_vdso_offsets.sh
blobc2e5613f3495109bc0faffca0a5782ade871a1f3
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
4 LC_ALL=C
5 sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define \2_offset\t0x\1/p'