projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abd219
)
[PATCH] uml build fix
author
Theodore Tso
<
[email protected]
>
Mon, 3 Jul 2006 07:24:09 +0000
(
00:24
-0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 3 Jul 2006 22:26:58 +0000
(15:26 -0700)
This is needed to fix UML compilation given that alternatives_smp_module_add
and alternatives_smp_module_del are null inline functions if !CONFIG_SMP.
Signed-off-by: "Theodore Ts'o" <
[email protected]
>
Cc: Jeff Dike <
[email protected]
>
Cc: Paolo 'Blaisorblade' Giarrusso <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/um/kernel/um_arch.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/um_arch.c
b/arch/um/kernel/um_arch.c
index 7d51dd7201c372b1ab7f59de2388c19f62bbca68..37cfe7701f063a96c60d86126c96c07dec306fa8 100644
(file)
--- a/
arch/um/kernel/um_arch.c
+++ b/
arch/um/kernel/um_arch.c
@@
-495,6
+495,7
@@
void apply_alternatives(struct alt_instr *start, struct alt_instr *end)
{
}
+#ifdef CONFIG_SMP
void alternatives_smp_module_add(struct module *mod, char *name,
void *locks, void *locks_end,
void *text, void *text_end)
@@
-504,3
+505,4
@@
void alternatives_smp_module_add(struct module *mod, char *name,
void alternatives_smp_module_del(struct module *mod)
{
}
+#endif