arch/sh/kernel/cpu/clock.c

Source file repositories/reference/linux-study-clean/arch/sh/kernel/cpu/clock.c

File Facts

System
Linux kernel
Corpus path
arch/sh/kernel/cpu/clock.c
Extension
.c
Size
1078 bytes
Lines
53
Domain
Architecture Layer
Bucket
arch/sh
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

if (unlikely(ret)) {
			pr_err("%s: machvec clock initialization failed.\n",
			       __func__);
			return ret;
		}
	}

#ifndef CONFIG_COMMON_CLK
	/* Kick the child clocks.. */
	recalculate_root_clocks();

	/* Enable the necessary init clocks */
	clk_enable_init_clocks();
#endif

	return ret;
}

Annotation

Implementation Notes