what is static inline void tvec_base

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






Hi,
I am new to kernel development.
So after being able to have some basic understand of some things I just went through source code.
I was going through a file known as
linux-2.6.34/kernel/timer.c and found following code.
I want to understand what is it doing.
What should I be reading to be able to understand it?

static inline void
timer_set_base(struct timer_list *timer, struct tvec_base *new_base)
{
        timer->base = (struct tvec_base *)((unsigned long)(new_base) |
                                      tbase_get_deferrable(timer->base));
}







--
------------------------------------------------------------------
James Bond


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux