From: jbarnes@sgi.com (Jesse Barnes)
To: linux-ia64@vger.kernel.org
Subject: [PATCH] bitshift & warning fix
Date: Wed, 18 Jun 2003 16:17:14 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105595346915718@msgid-missing> (raw)
[-- 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);
reply other threads:[~2003-06-18 16:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105595346915718@msgid-missing \
--to=jbarnes@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox