1*960c3e35SPuranjay Mohan#!/bin/bash 2*960c3e35SPuranjay Mohan# SPDX-License-Identifier: GPL-2.0 3*960c3e35SPuranjay Mohan# 4*960c3e35SPuranjay Mohan# A function added by the patch has no original to correlate against and must 5*960c3e35SPuranjay Mohan# still be carried into the livepatch. 6*960c3e35SPuranjay Mohan 7*960c3e35SPuranjay Mohan. "$(dirname "$0")/../lib.sh" 8*960c3e35SPuranjay Mohan 9*960c3e35SPuranjay Mohansetup 10*960c3e35SPuranjay Mohanbuild_pair new_function.c 11*960c3e35SPuranjay Mohanrun_diff 12*960c3e35SPuranjay Mohan 13*960c3e35SPuranjay Mohanassert_patched target 14*960c3e35SPuranjay Mohanassert_symbol klp_new_helper 15*960c3e35SPuranjay Mohan 16*960c3e35SPuranjay Mohanpass "new function carried into the patch with its caller" 17