Joel Becker <[email protected]> wrote:
>
> > Joel Becker <[email protected]> wrote:
> > > +# define TIMER_FREQ 1000000000ULL
> > > +# define TIMER_FREQ 0xFA240000ULL
> > > +# define TIMER_FREQ ((unsigned long long)local_cpu_data->itc_freq)
> > > +# define TIMER_FREQ (HZ*loops_per_jiffy)
> >
> > In the above case specifically, no ifdefs should be needed - you can simply
> > define CONFIG_HANGCHECK_TIMER_FREQ in arch/*/Kconfig.
>
> Kbuild foo help, please. I can't quite figure out how to
> represent the non-constant values as code in Kbuild. I can represent
> them as strings, but then they are strings, not code.
Oh, I missed that. Don't worry about it then. (It'd be nicer to put the
ifdeffery in a header file tho)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]