lkml.org 
[lkml]   [2008]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 4/4] x86: apic_is_clustered_box to indicate unsynched TSC's on multiboard vSMP systems

* Ravikiran G Thirumalai <kiran@scalex86.org> wrote:

> OK. Something like this?

yeah.

small nit:

> +int is_vsmp_box(void)
> +{
> + if (is_vsmp != -1)
> + return is_vsmp;
> + else {
> + printk("ScaleMP vSMPowered system detection called too early!\n");
> + return 0;
> + }
> }

since this is an "impossible" scenario, just stick in a WARN_ON_ONCE().

Ingo


\
 
 \ /
  Last update: 2008-03-22 21:05    [W:0.184 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site