File Index
Files and directories
Sign in
FILE

gen_vdso_offsets.sh

File preview with syntax highlighting.

linux-6.19.14/arch/riscv/kernel/vdso/gen_vdso_offsets.sh BASH
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0
3
4LC_ALL=C
5sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define \2_offset\t0x\1/p'
~/ Read-only file preview.