cregit-Linux how code gets into the kernel

Release 4.11 arch/arm/mach-omap2/am33xx-restart.c

/*
 * am33xx-restart.c - Code common to all AM33xx machines.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#include <linux/kernel.h>
#include <linux/reboot.h>

#include "common.h"
#include "prm.h"

/**
 * am3xx_restart - trigger a software restart of the SoC
 * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c
 * @cmd: passed from the userspace program rebooting the system (if provided)
 *
 * Resets the SoC.  For @cmd, see the 'reboot' syscall in
 * kernel/sys.c.  No return value.
 */

void am33xx_restart(enum reboot_mode mode, const char *cmd) { /* TODO: Handle mode and cmd if necessary */ omap_prm_reset_system(); }

Contributors

PersonTokensPropCommitsCommitProp
Jean-Sebastien A. Beaudry1477.78%125.00%
Robin Holt211.11%125.00%
Tero Kristo211.11%250.00%
Total18100.00%4100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Jean-Sebastien A. Beaudry2475.00%125.00%
Robin Holt515.62%125.00%
Tero Kristo39.38%250.00%
Total32100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.