patch-1.3.60 linux/include/asm-alpha/system.h

Next file: linux/include/asm-i386/irq.h
Previous file: linux/fs/vfat/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/include/asm-alpha/system.h linux/include/asm-alpha/system.h
@@ -50,7 +50,7 @@
 extern unsigned long rdmces (void);
 extern void wrmces (unsigned long);
 
-#define halt() __asm__ __volatile__(".long 0");
+#define halt() __asm__ __volatile__ ("call_pal %0" : : "i" (PAL_halt) : "memory")
 
 extern void alpha_switch_to(unsigned long pctxp);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this