[PATCH] jump label: Fix jump_label_text_reserved
From: Anders Kaseorg
Date: Thu Apr 28 2011 - 13:53:58 EST
This typo prevented jump_label_text_reserved from checking for any
conflicts in the core kernel.
Signed-off-by: Anders Kaseorg <andersk@xxxxxxxxxxx>
---
kernel/jump_label.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/jump_label.c b/kernel/jump_label.c
index 3b79bd9..4aedde1 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -250,7 +250,7 @@ int jump_label_text_reserved(void *start, void *end)
{
struct jump_entry *iter;
struct jump_entry *iter_start = __start___jump_table;
- struct jump_entry *iter_stop = __start___jump_table;
+ struct jump_entry *iter_stop = __stop___jump_table;
int conflict = 0;
iter = iter_start;
--
1.7.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/