linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix compliation with iBook (750FX) 2.6.0-test9
@ 2003-11-12 11:03 Ian Wienand
  0 siblings, 0 replies; only message in thread
From: Ian Wienand @ 2003-11-12 11:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: benh

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

Hi,

This change

http://ppc.bkbits.net:8080/linuxppc-2.5-benh/cset@1.1213?nav=index.html

gave me an error 

Error: unsupported relocation against SPRN_HID2

Google tells me this was hit in 2.4 as well when some changes were made.
Attached patch makes it work for me.

-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au


[-- Attachment #2: ppc-reg.h.diff --]
[-- Type: text/plain, Size: 541 bytes --]

===== include/asm-ppc/reg.h 1.8 vs edited =====
--- 1.8/include/asm-ppc/reg.h	Thu Oct 30 14:25:31 2003
+++ edited/include/asm-ppc/reg.h	Wed Nov 12 21:55:26 2003
@@ -177,6 +177,7 @@
 #define HID0_NOPTI	(1<<0)		/* No-op dcbt and dcbst instr. */
 
 #define SPRN_HID1	0x3F1		/* Hardware Implementation Register 1 */
+#define SPRN_HID2	0x3F8		/* Hardware Implementation Register 2 */
 #define HID1_EMCP	(1<<31)		/* 7450 Machine Check Pin Enable */
 #define HID1_PC0	(1<<16)		/* 7450 PLL_CFG[0] */
 #define HID1_PC1	(1<<15)		/* 7450 PLL_CFG[1] */

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

only message in thread, other threads:[~2003-11-12 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-12 11:03 [PATCH] Fix compliation with iBook (750FX) 2.6.0-test9 Ian Wienand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).