x86: Replace the EVT_TO_HPET_DEV() macro with an inline function
authorFerenc Wagner <wferi@niif.hu>
Fri, 18 Nov 2011 14:28:22 +0000 (15:28 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 12:53:36 +0000 (13:53 +0100)
commit3f7787b36cf2d99f3dbc8a0be85b92a5530a9a76
treea516d2e200d9a4036e35b46dbba32867385630a0
parent8e8da023f5af71662867729db5547dc54786093c
x86: Replace the EVT_TO_HPET_DEV() macro with an inline function

The original macro worked only when applied to variables named
'evt'. While this could have been fixed by simply renaming the
macro argument, a more type-safe replacement is preferred.

Signed-off-by: Ferenc Wagner <wferi@niif.hu>
Cc: Venkatesh Pallipadi \(Venki\) <venki@google.com>
Link: http://lkml.kernel.org/r/8ed5c66c02041226e8cf8b4d5d6b41e543d90bd6.1321626272.git.wferi@niif.hu
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/hpet.c
This page took 0.030869 seconds and 5 git commands to generate.