All of lore.kernel.org
 help / color / mirror / Atom feed
* About HPET is_hpet_capable()
@ 2011-08-09  8:28 limp
  2011-08-09  8:57 ` Stratos Psomadakis
  0 siblings, 1 reply; 2+ messages in thread
From: limp @ 2011-08-09  8:28 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

I am having a deeper look on Linux hpet code and I was wondering how exactly
is_hpet_capable() works.
>From the name of it, I assume that this function checks if the system
supports HPET or not but I can't really tell how it does that.

The function is the following:

static inline int is_hpet_capable(void)
{
         return !boot_hpet_disable && hpet_address;
}

Could anyone help me understand how this works?

Regards.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-09  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09  8:28 About HPET is_hpet_capable() limp
2011-08-09  8:57 ` Stratos Psomadakis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.