summaryrefslogtreecommitdiffstats
path: root/drivers/char/snsc_event.c
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] snsc kmalloc2kzallocJes Sorensen2006-03-231-4/+1
| | | | | | | | Change driver to use kzalloc rather than kmalloc+memset Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [IA64-SGI] Handle SC env. powerdown eventsAaron Young2006-01-261-8/+24
| | | | | | | | | | Handle system controller power down pending events on SN systems. This allows the system to gracefully shutdown before the system controller removes power due to an adverse environmental condition. Signed-off-by: Aaron Young <ayoung@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64-SGI] fix unaligned memory access in snsc_event.cGreg Howard2005-08-151-3/+8
| | | | | | | | | | | | | It's been pointed out that environmental events from the system controllers on Altix machines cause the kernel to complain about unaligned memory accesses. This turns out to be because "be32_to_cpup()" didn't do everything I thought/hoped it did. I've added calls to pull the offending integers out of the buffers using get_unaligned() before feeding them to be32_to_cpup(). Signed-off-by: Greg Howard <ghoward@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* [IA64-SGI] snsc_event.c new fileGreg Howard2005-04-251-0/+304
Forgot the "bk new" to add this file. Part of the patch from Greg Howard Signed-off-by: Tony Luck <tony.luck@intel.com>