Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176332
b: refs/heads/master
c: 196a15b
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Linus Torvalds committed Dec 15, 2009
1 parent ff66d0d commit 5bfd0a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d00928c1f02defc81afcc5cc6198581c4bd03e8
refs/heads/master: 196a15b4ee99f627fbc2c07e58e14aab2065fa80
18 changes: 9 additions & 9 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,10 +691,10 @@ asmlinkage void __init start_kernel(void)
static void __init do_ctors(void)
{
#ifdef CONFIG_CONSTRUCTORS
ctor_fn_t *call = (ctor_fn_t *) __ctors_start;
ctor_fn_t *fn = (ctor_fn_t *) __ctors_start;

for (; call < (ctor_fn_t *) __ctors_end; call++)
(*call)();
for (; fn < (ctor_fn_t *) __ctors_end; fn++)
(*fn)();
#endif
}

Expand Down Expand Up @@ -755,10 +755,10 @@ extern initcall_t __initcall_start[], __initcall_end[], __early_initcall_end[];

static void __init do_initcalls(void)
{
initcall_t *call;
initcall_t *fn;

for (call = __early_initcall_end; call < __initcall_end; call++)
do_one_initcall(*call);
for (fn = __early_initcall_end; fn < __initcall_end; fn++)
do_one_initcall(*fn);

/* Make sure there is no pending stuff from the initcall sequence */
flush_scheduled_work();
Expand All @@ -785,10 +785,10 @@ static void __init do_basic_setup(void)

static void __init do_pre_smp_initcalls(void)
{
initcall_t *call;
initcall_t *fn;

for (call = __initcall_start; call < __early_initcall_end; call++)
do_one_initcall(*call);
for (fn = __initcall_start; fn < __early_initcall_end; fn++)
do_one_initcall(*fn);
}

static void run_init_process(char *init_filename)
Expand Down

0 comments on commit 5bfd0a6

Please sign in to comment.