Re: wait_on_irq, CPU1

Riley Williams (rhw@MemAlpha.CX)
Tue, 4 Jan 2000 13:02:35 +0000 (GMT)


Hi Andi.

>>> +#define for_all_cpus(i) for((i)=0;(i)<smp_num_cpus;(i)++)

>> you must use "cpu_logical_map()", eg get_irq_list() in
>> linux/arch/i386/kernel/irq.c does that.

> I have never seen a motherboard where they are not continuous.
> But I'll fix it.

If this is referring to SMP, I have been setting up Linux on an SMP
system for a customer, and Linux ID's the two processors as being CPU
1 and CPU 15, so they definately don't have to be consecutively
numbered.

It's also only a two processor motherboard.

Best wishes from Riley.

* Copyright (C) 1999, Memory Alpha Systems.
* All rights and wrongs reserved.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* http://www.memalpha.cx/Linux/Kernel/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/