All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bitshift & warning fix
@ 2003-06-18 16:17 Jesse Barnes
  0 siblings, 0 replies; only message in thread
From: Jesse Barnes @ 2003-06-18 16:17 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 126 bytes --]

I think there are other 64p issues in other places, but we found this
one while doing 2.5 bringup on hardware.

Thanks,
Jesse

[-- Attachment #2: fix-64p-2.5.69-ia64-bk.patch --]
[-- Type: text/plain, Size: 1442 bytes --]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1145  -> 1.1146 
#	arch/ia64/kernel/smpboot.c	1.34    -> 1.35   
#	include/asm-ia64/smp.h	1.9     -> 1.10   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/06/17	jbarnes@tomahawk.engr.sgi.com	1.1146
# partial fix for >32p support
# --------------------------------------------
#
diff -Nru a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
--- a/arch/ia64/kernel/smpboot.c	Tue Jun 17 14:46:03 2003
+++ b/arch/ia64/kernel/smpboot.c	Tue Jun 17 14:46:03 2003
@@ -451,7 +451,7 @@
 		sapicid = smp_boot_data.cpu_phys_id[i];
 		if (sapicid == boot_cpu_id)
 			continue;
-		phys_cpu_present_map |= (1 << cpu);
+		phys_cpu_present_map |= (1UL << cpu);
 		ia64_cpu_to_sapicid[cpu] = sapicid;
 		cpu++;
 	}
diff -Nru a/include/asm-ia64/smp.h b/include/asm-ia64/smp.h
--- a/include/asm-ia64/smp.h	Tue Jun 17 14:46:03 2003
+++ b/include/asm-ia64/smp.h	Tue Jun 17 14:46:03 2003
@@ -135,6 +135,7 @@
 
 extern int smp_call_function_single (int cpuid, void (*func) (void *info), void *info,
 				     int retry, int wait);
+extern void smp_build_cpu_map(void);
 extern void smp_send_reschedule (int cpu);
 extern void smp_send_reschedule_all (void);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-18 16:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18 16:17 [PATCH] bitshift & warning fix Jesse Barnes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.