kpatch/test/integration/rhel-9.2/data-new.patch
Joe Lawrence 6708da4044 test/integration/rhel-9.2: add kernel-5.14.0-284.11.1.el9_2 tests
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
2023-05-10 14:38:39 -04:00

21 lines
621 B
Diff

diff -Nupr src.orig/fs/proc/meminfo.c src/fs/proc/meminfo.c
--- src.orig/fs/proc/meminfo.c 2023-04-24 14:12:17.584987707 -0400
+++ src/fs/proc/meminfo.c 2023-04-24 14:12:19.026986134 -0400
@@ -29,6 +29,8 @@ static void show_val_kb(struct seq_file
seq_write(m, " kB\n", 4);
}
+static int foo = 5;
+
static int meminfo_proc_show(struct seq_file *m, void *v)
{
struct sysinfo i;
@@ -152,6 +154,7 @@ static int meminfo_proc_show(struct seq_
show_val_kb(m, "CmaFree: ",
global_zone_page_state(NR_FREE_CMA_PAGES));
#endif
+ seq_printf(m, "kpatch: %d\n", foo);
hugetlb_report_meminfo(m);