History

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();

Steven Rostedt committed 16 years ago

Commit 95bcd681 parent de31c3c1 file · +7 −0Browse files

Unified · Split

kernel/jump_label.c+7−0
@@ -270,6 +270,13 @@ out: · 269 unmodified lines
270 return conflict;270 return conflict;
271}271}
272 272
273/*
274 * Not all archs need this.
275 */
276void __weak arch_jump_label_text_poke_early(jump_label_t addr)
277{
278}
279
273static __init int init_jump_label(void)280static __init int init_jump_label(void)
274{281{
275 int ret;282 int ret;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t