* [PATCH] - Delete duplicate SN2 definition of cpu_logical_id for non-SMP
@ 2005-01-06 21:53 Jack Steiner
2005-01-06 22:04 ` Jesse Barnes
0 siblings, 1 reply; 2+ messages in thread
From: Jack Steiner @ 2005-01-06 21:53 UTC (permalink / raw)
To: linux-ia64
Looks like this patch is needed to build non-SMP configurations.
Delete duplicate / stale definition of cpu_logical_id for non-SMP
configurations.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Index: linux/include/asm-ia64/sn/sn_cpuid.h
=================================--- linux.orig/include/asm-ia64/sn/sn_cpuid.h 2005-01-03 19:55:30.048998168 -0600
+++ linux/include/asm-ia64/sn/sn_cpuid.h 2005-01-06 15:50:15.335369557 -0600
@@ -82,7 +82,6 @@
*/
#ifndef CONFIG_SMP
-#define cpu_logical_id(cpu) 0
#define cpu_physical_id(cpuid) ((ia64_getreg(_IA64_REG_CR_LID) >> 16) & 0xffff)
#endif
--
Thanks
Jack Steiner (steiner@sgi.com) 651-683-5302
Principal Engineer SGI - Silicon Graphics, Inc.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] - Delete duplicate SN2 definition of cpu_logical_id for non-SMP
2005-01-06 21:53 [PATCH] - Delete duplicate SN2 definition of cpu_logical_id for non-SMP Jack Steiner
@ 2005-01-06 22:04 ` Jesse Barnes
0 siblings, 0 replies; 2+ messages in thread
From: Jesse Barnes @ 2005-01-06 22:04 UTC (permalink / raw)
To: linux-ia64
On Thursday, January 6, 2005 1:53 pm, Jack Steiner wrote:
> Looks like this patch is needed to build non-SMP configurations.
>
> Delete duplicate / stale definition of cpu_logical_id for non-SMP
> configurations.
I think a lot more than that is needed to fix the UP build. The patch Dann
posted contains this hunk and several others (also move the physical_id macro
out to a generic file).
Jesse
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-06 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-06 21:53 [PATCH] - Delete duplicate SN2 definition of cpu_logical_id for non-SMP Jack Steiner
2005-01-06 22:04 ` Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox