#undef TRACE_SYSTEM #define TRACE_SYSTEM nmi #if !defined(_TRACE_NMI_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_NMI_H #include #include TRACE_EVENT(nmi_handler, TP_PROTO(void *handler, s64 delta_ns, int handled), TP_ARGS(handler, delta_ns, handled), TP_STRUCT__entry( __field( void *, handler ) __field( s64, delta_ns) __field( int, handled ) ), TP_fast_assign( __entry->handler = handler; __entry->delta_ns = delta_ns; __entry->handled = handled; ), TP_printk("%ps() delta_ns: %lld handled: %d", __entry->handler, __entry->delta_ns, __entry->handled) ); #endif /* _TRACE_NMI_H */ /* This part ust be outside protection */ #include alt='cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2017-01-17 10:59:03 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-30 14:27:54 -0800
commit047487241ff59374fded8c477f21453681f5995c (patch)
tree1c2616bd373ce5ea28aac2a53e32f5b5834901ce /include/net/dn_nsp.h
parent7a7dc961a28b965a0d0303c2e989df17b411708b (diff)
sparc64: Handle PIO & MEM non-resumable errors.
User processes trying to access an invalid memory address via PIO will receive a SIGBUS signal instead of causing a panic. Memory errors will receive a SIGKILL since a SIGBUS may result in a coredump which may attempt to repeat the faulting access. Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dn_nsp.h')