summaryrefslogtreecommitdiffstats
path: root/contrib/gcclibs/libcpp/init.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-11-27 21:51:34 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-11-27 21:51:34 +0000
commitb9c058e8a0b756bce933dc2413bf8b9e654bccff (patch)
treef97ae917f3a3eee420d8b91e3bb50b60e7083644 /contrib/gcclibs/libcpp/init.c
parentffd93c315fc1a63d1d968832713d7b137aa5a22a (diff)
downloadFreeBSD-src-b9c058e8a0b756bce933dc2413bf8b9e654bccff.zip
FreeBSD-src-b9c058e8a0b756bce933dc2413bf8b9e654bccff.tar.gz
Make RTAS calls, which call setfault() to recover from machine checks,
preserve any existing fault buffer. RTAS calls are meant to be safe from interrupt context (and are indeed used there to implement the xics PIC drvier). Without this, calling into RTAS in interrupt context would have the effect of clearing any existing onfault state of the interrupted thread, potentially leading to a panic.
Diffstat (limited to 'contrib/gcclibs/libcpp/init.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud