Cc: Yinghai Lu <yhlu.kernel@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, Glauber de Oliveira Costa <gcosta@...>, Andi Kleen <ak@...>, <shai@...>
* Ravikiran G Thirumalai <kiran@scalex86.org> wrote:
i suspect there are two questions here: firstly, your change only flips
the condition around which should not have any effect _normally_. But
the thing is that is_vsmp_box() has side-effects: it reads the PCI
config space and sets a flag. It would be cleaner if there was a
separate, explicit detect_vsmp_box() call early during bootup which did
the PCI config space access, and is_vsmp_box() would only return the
current state of the vsmp flag. Then your above change would be
unnecessary.
Ingo
--