mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.4.18/2.5.39 include/asm-alpha/mmu_context.h compile fix
@ 2002-09-27 23:21 Falk Hueffner
  0 siblings, 0 replies; only message in thread
From: Falk Hueffner @ 2002-09-27 23:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: trivial

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

Hi,

CVS gcc doesn't allow mentioning __asm__("...") registers in the
clobber list any more (see also
http://gcc.gnu.org/ml/gcc/2002-09/msg00741.html).  This patch applies
to both 2.4.18 and 2.5.39.

-- 
	Falk


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: reload_thread.patch --]
[-- Type: text/x-patch, Size: 853 bytes --]

--- linux-2.5.39/include/asm-alpha/mmu_context.h~	2002-09-27 23:49:55.000000000 +0200
+++ linux-2.5.39/include/asm-alpha/mmu_context.h	2002-09-28 00:47:28.000000000 +0200
@@ -25,23 +25,23 @@
 extern inline unsigned long
 __reload_thread(struct pcb_struct *pcb)
 {
 	register unsigned long a0 __asm__("$16");
 	register unsigned long v0 __asm__("$0");
 
 	a0 = virt_to_phys(pcb);
 	__asm__ __volatile__(
 		"call_pal %2 #__reload_thread"
 		: "=r"(v0), "=r"(a0)
 		: "i"(PAL_swpctx), "r"(a0)
-		: "$1", "$16", "$22", "$23", "$24", "$25");
+		: "$1", "$22", "$23", "$24", "$25");
 
 	return v0;
 }
 
 
 /*
  * The maximum ASN's the processor supports.  On the EV4 this is 63
  * but the PAL-code doesn't actually use this information.  On the
  * EV5 this is 127, and EV6 has 255.
  *
  * On the EV4, the ASNs are more-or-less useless anyway, as they are

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

only message in thread, other threads:[~2002-09-27 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-27 23:21 [PATCH] 2.4.18/2.5.39 include/asm-alpha/mmu_context.h compile fix Falk Hueffner

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®