[PATCH 1/2] ARM: Allow to mask data aborts

Sascha Hauer s.hauer at pengutronix.de
Fri Feb 27 04:18:07 PST 2015


On Fri, Feb 27, 2015 at 01:04:53PM +0100, Jan Lübbe wrote:
> On Do, 2015-02-26 at 19:05 +0100, Sascha Hauer wrote:
> > +int data_abort_unmask(void)
> > +{
> > +       arm_ignore_data_abort = 0;
> > +
> > +       return arm_data_abort_occured;
> > +}
> 
> arm_data_abort_occured is set to &arm_data_abort_occured when an abort
> occurs. Should we return arm_data_abort_occured != 0?

Yes, sounds good. Changed that.

> 
> Also occured is actually spelled occurred.

Fixed, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list