Skip to contentSkip to conversation

generic kernel support for sn2

PATCH New Jesse Barnes 1 participant 1 message Jun 18, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic kernel support for sn2

I _think_ I got this one right (at least, it booted on hw). It should allow generic kernels to include the sn2 code.

Thanks,
Jesse

# 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.1142 -> 1.1143
# arch/ia64/Makefile 1.53 -> 1.54
# arch/ia64/sn/kernel/machvec.c 1.6 -> 1.7
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/06/17 [email protected] 1.1143
# CONFIG_IA64_GENERIC fixes
# --------------------------------------------
#

arch/ia64/Makefile +2 -1
diff -Nru a/arch/ia64/Makefile b/arch/ia64/Makefile
@@ -66,7 +66,8 @@
 drivers-$(CONFIG_PCI)		+= arch/ia64/pci/
 drivers-$(CONFIG_IA64_HP_SIM)	+= arch/ia64/hp/sim/
 drivers-$(CONFIG_IA64_HP_ZX1)	+= arch/ia64/hp/common/ arch/ia64/hp/zx1/
-drivers-$(CONFIG_IA64_GENERIC)	+= arch/ia64/hp/common/ arch/ia64/hp/zx1/ arch/ia64/hp/sim/
+drivers-$(CONFIG_IA64_GENERIC)	+= arch/ia64/hp/common/ arch/ia64/hp/zx1/ arch/ia64/hp/sim/ \
+				   arch/ia64/sn/
 
 boot := arch/ia64/boot
 
arch/ia64/sn/kernel/machvec.c +1 -0
diff -Nru a/arch/ia64/sn/kernel/machvec.c b/arch/ia64/sn/kernel/machvec.c
@@ -31,4 +31,5 @@
  */
 
 #define MACHVEC_PLATFORM_NAME	sn2
+#define MACHVEC_PLATFORM_HEADER	<asm/machvec_sn2.h>
 #include <asm/machvec_init.h>