diff options
author | Qing Zhang <zhangqing@loongson.cn> | 2023-05-01 17:19:52 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-05-01 17:19:52 +0800 |
commit | 6fbff14a638293dcd0550cac2921f308ef6abe0e (patch) | |
tree | 4612a1a5f0f7752d7059be85959b788ae6c276ef /drivers/tty | |
parent | 8b5ee2c66d5c4c1312fd193d4138e6963160ba43 (diff) | |
download | linux-stable-6fbff14a638293dcd0550cac2921f308ef6abe0e.tar.gz linux-stable-6fbff14a638293dcd0550cac2921f308ef6abe0e.tar.bz2 linux-stable-6fbff14a638293dcd0550cac2921f308ef6abe0e.zip |
LoongArch: ftrace: Abstract DYNAMIC_FTRACE_WITH_ARGS accesses
Add new ftrace_regs_{get,set}_*() helpers which can be used to manipulate
ftrace_regs. When CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=y, these can always
be used on any ftrace_regs, and when CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS
=n these can be used when regs are available.
Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions