Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe77efb8 authored by Hidetoshi Seto's avatar Hidetoshi Seto Committed by Tony Luck
Browse files

[IA64] mca style cleanup



Unified changelog, 80 columns rule, and address form fix.

Signed-off-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 0245583a
Loading
Loading
Loading
Loading
+37 −29
Original line number Original line Diff line number Diff line
@@ -2,55 +2,63 @@
 * File:	mca.c
 * File:	mca.c
 * Purpose:	Generic MCA handling layer
 * Purpose:	Generic MCA handling layer
 *
 *
 * Updated for latest kernel
 * Copyright (C) 2003 Hewlett-Packard Co
 * Copyright (C) 2003 Hewlett-Packard Co
 *	David Mosberger-Tang <davidm@hpl.hp.com>
 *	David Mosberger-Tang <davidm@hpl.hp.com>
 *
 *
 * Copyright (C) 2002 Dell Inc.
 * Copyright (C) 2002 Dell Inc.
 * Copyright (C) Matt Domsch (Matt_Domsch@dell.com)
 * Copyright (C) Matt Domsch <Matt_Domsch@dell.com>
 *
 *
 * Copyright (C) 2002 Intel
 * Copyright (C) 2002 Intel
 * Copyright (C) Jenna Hall (jenna.s.hall@intel.com)
 * Copyright (C) Jenna Hall <jenna.s.hall@intel.com>
 *
 *
 * Copyright (C) 2001 Intel
 * Copyright (C) 2001 Intel
 * Copyright (C) Fred Lewis (frederick.v.lewis@intel.com)
 * Copyright (C) Fred Lewis <frederick.v.lewis@intel.com>
 *
 *
 * Copyright (C) 2000 Intel
 * Copyright (C) 2000 Intel
 * Copyright (C) Chuck Fleckenstein (cfleck@co.intel.com)
 * Copyright (C) Chuck Fleckenstein <cfleck@co.intel.com>
 *
 *
 * Copyright (C) 1999, 2004 Silicon Graphics, Inc.
 * Copyright (C) 1999, 2004 Silicon Graphics, Inc.
 * Copyright (C) Vijay Chander(vijay@engr.sgi.com)
 * Copyright (C) Vijay Chander <vijay@engr.sgi.com>
 *
 *
 * 03/04/15 D. Mosberger Added INIT backtrace support.
 * Copyright (C) 2006 FUJITSU LIMITED
 * 02/03/25 M. Domsch	GUID cleanups
 * Copyright (C) Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
 *
 *
 * 02/01/04 J. Hall	Aligned MCA stack to 16 bytes, added platform vs. CPU
 * 2000-03-29 Chuck Fleckenstein <cfleck@co.intel.com>
 *			error flag, set SAL default return values, changed
 *	      Fixed PAL/SAL update issues, began MCA bug fixes, logging issues,
 *			error record structure to linked list, added init call
 *			to sal_get_state_info_size().
 *
 * 01/01/03 F. Lewis    Added setup of CMCI and CPEI IRQs, logging of corrected
 *                      platform errors, completed code for logging of
 *                      corrected & uncorrected machine check errors, and
 *                      updated for conformance with Nov. 2000 revision of the
 *                      SAL 3.0 spec.
 * 00/03/29 C. Fleckenstein  Fixed PAL/SAL update issues, began MCA bug fixes, logging issues,
 *	      added min save state dump, added INIT handler.
 *	      added min save state dump, added INIT handler.
 *
 *
 * 2001-01-03 Fred Lewis <frederick.v.lewis@intel.com>
 *	      Added setup of CMCI and CPEI IRQs, logging of corrected platform
 *	      errors, completed code for logging of corrected & uncorrected
 *	      machine check errors, and updated for conformance with Nov. 2000
 *	      revision of the SAL 3.0 spec.
 *
 * 2002-01-04 Jenna Hall <jenna.s.hall@intel.com>
 *	      Aligned MCA stack to 16 bytes, added platform vs. CPU error flag,
 *	      set SAL default return values, changed error record structure to
 *	      linked list, added init call to sal_get_state_info_size().
 *
 * 2002-03-25 Matt Domsch <Matt_Domsch@dell.com>
 *	      GUID cleanups.
 *
 * 2003-04-15 David Mosberger-Tang <davidm@hpl.hp.com>
 *	      Added INIT backtrace support.
 *
 * 2003-12-08 Keith Owens <kaos@sgi.com>
 * 2003-12-08 Keith Owens <kaos@sgi.com>
 *            smp_call_function() must not be called from interrupt context (can
 *	      smp_call_function() must not be called from interrupt context
 *            deadlock on tasklist_lock).  Use keventd to call smp_call_function().
 *	      (can deadlock on tasklist_lock).
 *	      Use keventd to call smp_call_function().
 *
 *
 * 2004-02-01 Keith Owens <kaos@sgi.com>
 * 2004-02-01 Keith Owens <kaos@sgi.com>
 *	      Avoid deadlock when using printk() for MCA and INIT records.
 *	      Avoid deadlock when using printk() for MCA and INIT records.
 *            Delete all record printing code, moved to salinfo_decode in user space.
 *	      Delete all record printing code, moved to salinfo_decode in user
 *            Mark variables and functions static where possible.
 *	      space.  Mark variables and functions static where possible.
 *            Delete dead variables and functions.
 *	      Delete dead variables and functions.  Reorder to remove the need
 *            Reorder to remove the need for forward declarations and to consolidate
 *	      for forward declarations and to consolidate related code.
 *            related code.
 *
 *
 * 2005-08-12 Keith Owens <kaos@sgi.com>
 * 2005-08-12 Keith Owens <kaos@sgi.com>
 *	      Convert MCA/INIT handlers to use per event stacks and SAL/OS state.
 *	      Convert MCA/INIT handlers to use per event stacks and SAL/OS
 *	      state.
 *
 *
 * 2005-10-07 Keith Owens <kaos@sgi.com>
 * 2005-10-07 Keith Owens <kaos@sgi.com>
 *	      Add notify_die() hooks.
 *	      Add notify_die() hooks.
+25 −21
Original line number Original line Diff line number Diff line
//
/*
// assembly portion of the IA64 MCA handling
 * File:	mca_asm.S
//
 * Purpose:	assembly portion of the IA64 MCA handling
// Mods by cfleck to integrate into kernel build
 *
// 00/03/15 davidm Added various stop bits to get a clean compile
 * Mods by cfleck to integrate into kernel build
//
 *
// 00/03/29 cfleck Added code to save INIT handoff state in pt_regs format, switch to temp
 * 2000-03-15 David Mosberger-Tang <davidm@hpl.hp.com>
//		   kstack, switch modes, jump to C INIT handler
 *		Added various stop bits to get a clean compile
//
 *
// 02/01/04 J.Hall <jenna.s.hall@intel.com>
 * 2000-03-29 Chuck Fleckenstein <cfleck@co.intel.com>
//		   Before entering virtual mode code:
 *		Added code to save INIT handoff state in pt_regs format,
//		   1. Check for TLB CPU error
 *		switch to temp kstack, switch modes, jump to C INIT handler
//		   2. Restore current thread pointer to kr6
 *
//		   3. Move stack ptr 16 bytes to conform to C calling convention
 * 2002-01-04 J.Hall <jenna.s.hall@intel.com>
//
 *		Before entering virtual mode code:
// 04/11/12 Russ Anderson <rja@sgi.com>
 *		 1. Check for TLB CPU error
//		   Added per cpu MCA/INIT stack save areas.
 *		 2. Restore current thread pointer to kr6
//
 *		 3. Move stack ptr 16 bytes to conform to C calling convention
// 12/08/05 Keith Owens <kaos@sgi.com>
 *
//		   Use per cpu MCA/INIT stacks for all data.
 * 2004-11-12 Russ Anderson <rja@sgi.com>
//
 *		Added per cpu MCA/INIT stack save areas.
 *
 * 2005-12-08 Keith Owens <kaos@sgi.com>
 *		Use per cpu MCA/INIT stacks for all data.
 */
#include <linux/threads.h>
#include <linux/threads.h>


#include <asm/asmmacro.h>
#include <asm/asmmacro.h>
+1 −1
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@
 * Purpose:	Generic MCA handling layer
 * Purpose:	Generic MCA handling layer
 *
 *
 * Copyright (C) 2004 FUJITSU LIMITED
 * Copyright (C) 2004 FUJITSU LIMITED
 * Copyright (C) Hidetoshi Seto (seto.hidetoshi@jp.fujitsu.com)
 * Copyright (C) 2004 Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
 * Copyright (C) 2005 Silicon Graphics, Inc
 * Copyright (C) 2005 Silicon Graphics, Inc
 * Copyright (C) 2005 Keith Owens <kaos@sgi.com>
 * Copyright (C) 2005 Keith Owens <kaos@sgi.com>
 * Copyright (C) 2006 Russ Anderson <rja@sgi.com>
 * Copyright (C) 2006 Russ Anderson <rja@sgi.com>
+1 −1
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@
 * Purpose:	Define helpers for Generic MCA handling
 * Purpose:	Define helpers for Generic MCA handling
 *
 *
 * Copyright (C) 2004 FUJITSU LIMITED
 * Copyright (C) 2004 FUJITSU LIMITED
 * Copyright (C) Hidetoshi Seto (seto.hidetoshi@jp.fujitsu.com)
 * Copyright (C) 2004 Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
 */
 */
/*
/*
 * Processor error section:
 * Processor error section:
+1 −1
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@
 * Purpose:     Assembly portion of Generic MCA handling
 * Purpose:     Assembly portion of Generic MCA handling
 *
 *
 * Copyright (C) 2004 FUJITSU LIMITED
 * Copyright (C) 2004 FUJITSU LIMITED
 * Copyright (C) Hidetoshi Seto (seto.hidetoshi@jp.fujitsu.com)
 * Copyright (C) 2004 Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
 */
 */
#include <linux/threads.h>
#include <linux/threads.h>


Loading