lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 30 Oct 2010 10:40:59 GMT
From:	tip-bot for Steven Rostedt <srostedt@...hat.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
	davem@...emloft.net, rostedt@...dmis.org, srostedt@...hat.com,
	ddaney@...iumnetworks.com, tglx@...utronix.de, jbaron@...hat.com
Subject: [tip:perf/urgent] jump label: Make arch_jump_label_text_poke_early() optional

Commit-ID:  95bcd683fb694a3e2d0538bf486430a0dfbb4111
Gitweb:     http://git.kernel.org/tip/95bcd683fb694a3e2d0538bf486430a0dfbb4111
Author:     Steven Rostedt <srostedt@...hat.com>
AuthorDate: Fri, 29 Oct 2010 11:02:43 -0400
Committer:  Steven Rostedt <rostedt@...dmis.org>
CommitDate: Fri, 29 Oct 2010 12:56:13 -0400

jump label: Make arch_jump_label_text_poke_early() optional

Some archs do not need to do anything special for jump labels on
startup (like MIPS).  This patch adds a weak function stub for
arch_jump_label_text_poke_early();

Cc: Jason Baron <jbaron@...hat.com>
Cc: David Miller <davem@...emloft.net>
Cc: David Daney <ddaney@...iumnetworks.com>
Suggested-by: Thomas Gleixner <tglx@...utronix.de>
LKML-Reference: <1286218615-24011-2-git-send-email-ddaney@...iumnetworks.com>
LKML-Reference: <20101015201037.703989993@...dmis.org>
Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
---
 kernel/jump_label.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/kernel/jump_label.c b/kernel/jump_label.c
index 12cce78..3b79bd9 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -270,6 +270,13 @@ out:
 	return conflict;
 }
 
+/*
+ * Not all archs need this.
+ */
+void __weak arch_jump_label_text_poke_early(jump_label_t addr)
+{
+}
+
 static __init int init_jump_label(void)
 {
 	int ret;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ