svn: head/sys: compat/linprocfs i386/cpufreq

Jung-uk Kim jkim at FreeBSD.org
Thu Jan 22 15:50:51 PST 2009


On Thursday 22 January 2009 06:07 pm, Maxim Sobolev wrote:
> Jung-uk Kim wrote:
> > On Thursday 22 January 2009 03:24 pm, Maxim Sobolev wrote:
> >> Jung-uk Kim wrote:
> >>> Author: jkim
> >>> Date: Thu Jan 22 17:06:33 2009
> >>> New Revision: 187594
> >>> URL: http://svn.freebsd.org/changeset/base/187594
> >>>
> >>> Log:
> >>>   Replace couple of strcmp(cpu_vendor, "foo") with
> >>> cpu_vendor_id for i386
> >>
> >> What about amd64?
> >
> > It is #ifdef'ed out in linprocfs.c and smist.c is i386-specific,
> > i.e., it does not compile on amd64.
>
> No, it's not. The function linprocfs_docpuinfo() are the same for
> both amd64 and i386, so that you've just broken it for amd64 with
> this commit.

#ifdef was added with it:

http://docs.freebsd.org/cgi/mid.cgi?200901221706.n0MH6XN1017768

Jung-uk Kim


More information about the svn-src-head mailing list