Skip to contentSkip to conversation

Compilation fix for UP I2000

PATCH Peter Chubb 2 participants 2 messages Oct 27, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
The variable `foo' was deleted in a recent changeset, but one
reference was missed. I needed the appended patch to get a good compilation for uniprocessor I2000.

# 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.1370 -> 1.1371
# arch/ia64/kernel/perfmon.c 1.65 -> 1.66
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/10/28 [email protected] 1.1371
# [IA64] delete reference to deleted variable `foo' in perfmon.c # --------------------------------------------
#

arch/ia64/kernel/perfmon.c +0 -2
diff -Nru a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
@@ -5787,8 +5787,6 @@
 	 */
 	psr = pfm_get_psr();
 
-	BUG_ON(foo & (IA64_PSR_I));
-
 	/*
 	 * stop monitoring:
 	 * This is the last instruction which may generate an overflow
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Peter Chubb

Peter> Hi, The variable `foo' was deleted in a recent changeset, but Peter> one reference was missed. I needed the appended patch to get Peter> a good compilation for uniprocessor I2000.

Yes, unfortunately. Stephane already sent me a patch and it's in the to-linus-2.5 tree already.

	--david