setup.c (b9f12a5d97f652c77ef6803dccd0d40d1290f5be) setup.c (0869b6fd209bda402576a9a559120ddd4f61198e)
1/*
2 * PowerNV setup code.
3 *
4 * Copyright 2011 IBM Corp.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 250 unchanged lines hidden (view full) ---

259 ppc_md.get_boot_time = opal_get_boot_time;
260 ppc_md.get_rtc_time = opal_get_rtc_time;
261 ppc_md.set_rtc_time = opal_set_rtc_time;
262 ppc_md.restart = pnv_restart;
263 ppc_md.power_off = pnv_power_off;
264 ppc_md.halt = pnv_halt;
265 ppc_md.machine_check_exception = opal_machine_check;
266 ppc_md.mce_check_early_recovery = opal_mce_check_early_recovery;
1/*
2 * PowerNV setup code.
3 *
4 * Copyright 2011 IBM Corp.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 250 unchanged lines hidden (view full) ---

259 ppc_md.get_boot_time = opal_get_boot_time;
260 ppc_md.get_rtc_time = opal_get_rtc_time;
261 ppc_md.set_rtc_time = opal_set_rtc_time;
262 ppc_md.restart = pnv_restart;
263 ppc_md.power_off = pnv_power_off;
264 ppc_md.halt = pnv_halt;
265 ppc_md.machine_check_exception = opal_machine_check;
266 ppc_md.mce_check_early_recovery = opal_mce_check_early_recovery;
267 ppc_md.hmi_exception_early = opal_hmi_exception_early;
268 ppc_md.handle_hmi_exception = opal_handle_hmi_exception;
267}
268
269#ifdef CONFIG_PPC_POWERNV_RTAS
270static void __init pnv_setup_machdep_rtas(void)
271{
272 if (rtas_token("get-time-of-day") != RTAS_UNKNOWN_SERVICE) {
273 ppc_md.get_boot_time = rtas_get_boot_time;
274 ppc_md.get_rtc_time = rtas_get_rtc_time;

--- 68 unchanged lines hidden ---
269}
270
271#ifdef CONFIG_PPC_POWERNV_RTAS
272static void __init pnv_setup_machdep_rtas(void)
273{
274 if (rtas_token("get-time-of-day") != RTAS_UNKNOWN_SERVICE) {
275 ppc_md.get_boot_time = rtas_get_boot_time;
276 ppc_md.get_rtc_time = rtas_get_rtc_time;

--- 68 unchanged lines hidden ---