Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: GPL-2.0/* * A function the patch deletes, along with its only caller's use of it. The * original has a symbol which the patched object simply does not, so there is * nothing to correlate it against. */
static const char __modinfo[] __attribute__((section(".modinfo"), used, aligned(1))) = "\0name=vmlinux";
#ifndef PATCHEDint going_away(int x){ return x + 7;}#endif
int caller(int x){#ifdef PATCHED return x + 1;#else return going_away(x);#endif}