Re: [RFC patch 4/7] timekeeping: Add NMI safe accessor to mono/boot/real clocks

From: Thomas Gleixner
Date: Fri Nov 17 2017 - 18:43:44 EST


On Fri, 17 Nov 2017, Linus Torvalds wrote:

> On Fri, Nov 17, 2017 at 3:00 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > Could you indent this better. It looks like timekeeping_delta_to_ns()
> > takes 4 arguments, when it really only takes two.
>
> Actually, even better would be to simply not have that ugly three-line
> expression from hell.

I pondered and almost did that when I was hacking that up, but then
lazyness won :)