svn: head/sys: compat/linprocfs i386/cpufreq
sobomax at FreeBSD.org
Thu Jan 22 15:08:23 PST 2009
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
>>> 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.
More information about the svn-src-head