ras.c (4aef2ec9022b217f74d0f4c9b84081f07cc223d9) | ras.c (7368b38b21bfa39df637701a480262c15ab1a49e) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 2001 Dave Engebretsen IBM Corporation 4 */ 5 6#include <linux/sched.h> 7#include <linux/interrupt.h> 8#include <linux/irq.h> --- 444 unchanged lines hidden (view full) --- 453} 454 455/* Call this when done with the data returned by FWNMI_get_errinfo. 456 * It will release the saved data area for other CPUs in the 457 * partition to receive FWNMI errors. 458 */ 459static void fwnmi_release_errinfo(void) 460{ | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 2001 Dave Engebretsen IBM Corporation 4 */ 5 6#include <linux/sched.h> 7#include <linux/interrupt.h> 8#include <linux/irq.h> --- 444 unchanged lines hidden (view full) --- 453} 454 455/* Call this when done with the data returned by FWNMI_get_errinfo. 456 * It will release the saved data area for other CPUs in the 457 * partition to receive FWNMI errors. 458 */ 459static void fwnmi_release_errinfo(void) 460{ |
461 int ret = rtas_call(rtas_token("ibm,nmi-interlock"), 0, 1, NULL); | 461 int ret = rtas_call(ibm_nmi_interlock_token, 0, 1, NULL); |
462 if (ret != 0) 463 printk(KERN_ERR "FWNMI: nmi-interlock failed: %d\n", ret); 464} 465 466int pSeries_system_reset_exception(struct pt_regs *regs) 467{ 468#ifdef __LITTLE_ENDIAN__ 469 /* --- 359 unchanged lines hidden --- | 462 if (ret != 0) 463 printk(KERN_ERR "FWNMI: nmi-interlock failed: %d\n", ret); 464} 465 466int pSeries_system_reset_exception(struct pt_regs *regs) 467{ 468#ifdef __LITTLE_ENDIAN__ 469 /* --- 359 unchanged lines hidden --- |