Re: [PATCH v11 3/4] x86, mce: Add __mcsafe_copy()

From: Ingo Molnar
Date: Thu Feb 18 2016 - 05:34:32 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> On Thu, Feb 18, 2016 at 09:21:07AM +0100, Ingo Molnar wrote:
> > > +#ifndef CONFIG_UML
> >
> > Why is this UML quirk needed? No other memcpy functions have it. Theoretically UML
> > could introduce the notion of #MC interruption.
>
> https://lkml.kernel.org/r/56B7AEEE.5070504@xxxxxx

Does the build fail - or is it just an unused function? If the latter then I'd
rather leave the #ifdef out.

Thanks,

Ingo