From cd2768baba7e17afdc2d8cf1bac118ead7144019 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 7 Feb 2009 23:40:20 -0500 Subject: [PATCH] Rename ksplice_module_list to ksplice_modules. Signed-off-by: Tim Abbott --- kmodsrc/ksplice.c | 12 ++++++------ kmodsrc/ksplice.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kmodsrc/ksplice.c b/kmodsrc/ksplice.c index f4e94eb..ff09f92 100644 --- a/kmodsrc/ksplice.c +++ b/kmodsrc/ksplice.c @@ -233,13 +233,13 @@ static long probe_kernel_read(void *dst, void *src, size_t size) static LIST_HEAD(updates); #ifdef KSPLICE_STANDALONE #if defined(CONFIG_KSPLICE) || defined(CONFIG_KSPLICE_MODULE) -extern struct list_head ksplice_module_list; +extern struct list_head ksplice_modules; #else /* !CONFIG_KSPLICE */ -LIST_HEAD(ksplice_module_list); +LIST_HEAD(ksplice_modules); #endif /* CONFIG_KSPLICE */ #else /* !KSPLICE_STANDALONE */ -LIST_HEAD(ksplice_module_list); -EXPORT_SYMBOL_GPL(ksplice_module_list); +LIST_HEAD(ksplice_modules); +EXPORT_SYMBOL_GPL(ksplice_modules); static struct kobject *ksplice_kobj; #endif /* KSPLICE_STANDALONE */ @@ -2906,7 +2906,7 @@ static int __apply_patches(void *updateptr) #endif list_for_each_entry(entry, &update->ksplice_module_list, update_list) - list_add(&entry->list, &ksplice_module_list); + list_add(&entry->list, &ksplice_modules); list_for_each_entry(pack, &update->packs, list) { for (p = pack->patches; p < pack->patches_end; p++) @@ -3390,7 +3390,7 @@ static bool patches_module(const struct module *a, const struct module *b) struct ksplice_module_list_entry *entry; if (a == b) return true; - list_for_each_entry(entry, &ksplice_module_list, list) { + list_for_each_entry(entry, &ksplice_modules, list) { if (strcmp(entry->target_name, b->name) == 0 && strcmp(entry->primary_name, a->name) == 0) return true; diff --git a/kmodsrc/ksplice.h b/kmodsrc/ksplice.h index 50943f7..bc1e9ad 100644 --- a/kmodsrc/ksplice.h +++ b/kmodsrc/ksplice.h @@ -178,7 +178,7 @@ struct ksplice_module_list_entry { }; /* List of all ksplice modules and the module they patch */ -extern struct list_head ksplice_module_list; +extern struct list_head ksplice_modules; /** * struct ksplice_pack - Data for one module modified by a Ksplice update -- 2.11.4.GIT