aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/powermac/setup.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c
index 7ccb9236e8b4..840f5b45384d 100644
--- a/arch/powerpc/platforms/powermac/setup.c
+++ b/arch/powerpc/platforms/powermac/setup.c
@@ -466,8 +466,13 @@ static int pmac_late_init(void)
466 466
467late_initcall(pmac_late_init); 467late_initcall(pmac_late_init);
468 468
469/* can't be __init - can be called whenever a disk is first accessed */ 469/*
470void note_bootable_part(dev_t dev, int part, int goodness) 470 * This is __init_refok because we check for "initializing" before
471 * touching any of the __init sensitive things and "initializing"
472 * will be false after __init time. This can't be __init because it
473 * can be called whenever a disk is first accessed.
474 */
475void __init_refok note_bootable_part(dev_t dev, int part, int goodness)
471{ 476{
472 static int found_boot = 0; 477 static int found_boot = 0;
473 char *p; 478 char *p;