projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02c1df1
)
dyn_array: fix typo
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Thu, 4 Sep 2008 18:57:13 +0000
(20:57 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:53:06 +0000
(16:53 +0200)
Andrew found the typo could break some platforms.
also fix a checkpatch warning.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
init/dyn_array.c
patch
|
blob
|
blame
|
history
diff --git
a/init/dyn_array.c
b/init/dyn_array.c
index 1dc08140f3cba6ff36a62f7ed93ac20a97eeef26..cf1e04c83b33b9ae2054d40209e56860888181d2 100644
(file)
--- a/
init/dyn_array.c
+++ b/
init/dyn_array.c
@@
-54,7
+54,7
@@
void __init pre_alloc_dyn_array(void)
da->init_work(da);
}
#else
-#ifdef CONFI
F
_GENERIC_HARDIRQS
+#ifdef CONFI
G
_GENERIC_HARDIRQS
unsigned int i;
for (i = 0; i < NR_IRQS; i++)
@@
-117,9
+117,8
@@
void __init per_cpu_alloc_dyn_array(int cpu, char *ptr)
phys += size;
- if (da->init_work)
{
+ if (da->init_work)
da->init_work(da);
- }
}
#endif
}