mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2/2 Add exposure of the irq delivery mask on x86 [voyager piece]
@ 2003-05-22 17:20 James Bottomley
  0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2003-05-22 17:20 UTC (permalink / raw)
  To: Linux Kernel; +Cc: arjanv, wli

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

This makes voyager use the mask exposed by the previous patch to reflect
the CPU's which can receive interrupts

James


[-- Attachment #2: tmp.diff --]
[-- Type: text/plain, Size: 1321 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.1210  -> 1.1211 
#	arch/i386/mach-voyager/voyager_cat.c	1.1     -> 1.2    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/22	jejb@oldfenric.sc.steeleye.com	1.1211
# Add voyager support for exposing interrupt delivery masks
# --------------------------------------------
#
diff -Nru a/arch/i386/mach-voyager/voyager_cat.c b/arch/i386/mach-voyager/voyager_cat.c
--- a/arch/i386/mach-voyager/voyager_cat.c	Thu May 22 13:19:05 2003
+++ b/arch/i386/mach-voyager/voyager_cat.c	Thu May 22 13:19:05 2003
@@ -26,6 +26,7 @@
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
+#include <linux/irq.h>
 #include <asm/io.h>
 
 #ifdef VOYAGER_CAT_DEBUG
@@ -899,6 +900,9 @@
 	request_resource(&ioport_resource, &vic_res);
 	if(voyager_quad_processors)
 		request_resource(&ioport_resource, &qic_res);
+	/* mark the interrupt accepting cpu's in the mask */
+	for(i=0; i<NR_IRQS; i++)
+		irq_mask[i] = voyager_extended_vic_processors;
 	/* set up the front power switch */
 }
 

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

only message in thread, other threads:[~2003-05-22 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22 17:20 [PATCH] 2/2 Add exposure of the irq delivery mask on x86 [voyager piece] James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®