r2061 - trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches

Sven Luther luther@haydn.debian.org
Sun, 26 Dec 2004 05:53:01 -0700


Author: luther
Date: 2004-12-26 05:52:56 -0700 (Sun, 26 Dec 2004)
New Revision: 2061

Modified:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/powerpc-pegasos-2.dpatch
Log:
Forgot to add _chrp_type in include/asm-ppc/processor.h too.


Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/powerpc-pegasos-2.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/powerpc-pegasos-2.dpatch	2004-12-26 12:15:19 UTC (rev 2060)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/powerpc-pegasos-2.dpatch	2004-12-26 12:52:56 UTC (rev 2061)
@@ -294,7 +294,7 @@
  	} else if ((int) call_prom("getprop", 4, 1, prom_chosen, "mmu",
 diff -urN kernel-source-2.6.8.orig/include/asm-ppc/processor.h kernel-source-2.6.8/include/asm-ppc/processor.h
 --- kernel-source-2.6.8.orig/include/asm-ppc/processor.h	2004-08-14 07:36:11.000000000 +0200
-+++ kernel-source-2.6.8/include/asm-ppc/processor.h	2004-12-26 11:53:59.212725488 +0100
++++ kernel-source-2.6.8/include/asm-ppc/processor.h	2004-12-26 13:50:25.909586120 +0100
 @@ -34,6 +34,7 @@
  /* these are arbitrary */
  #define _CHRP_Motorola	0x04	/* motorola chrp, the cobra */
@@ -303,3 +303,11 @@
  
  #define _GLOBAL(n)\
  	.stabs __stringify(n:F-1),N_FUN,0,0,n;\
+@@ -54,6 +55,7 @@
+ 
+ /* what kind of prep workstation we are */
+ extern int _prep_type;
++extern int _chrp_type;
+ 
+ /*
+  * This is used to identify the board type from a given PReP board