(CLEAR_CACHE): Fix a2 value.
authordrepper <drepper>
Tue, 21 Dec 1999 17:50:04 +0000 (17:50 +0000)
committerdrepper <drepper>
Tue, 21 Dec 1999 17:50:04 +0000 (17:50 +0000)
sysdeps/arm/dl-machine.h

index de2d0ba..ef5584f 100644 (file)
@@ -35,7 +35,7 @@
 #define CLEAR_CACHE(BEG,END)                                           \
 {                                                                      \
   register unsigned long _beg __asm ("a1") = (unsigned long)(BEG);     \
-  register unsigned long _end __asm ("a2") = (unsigned long)((END) - (BEG));\
+  register unsigned long _end __asm ("a2") = (unsigned long)(END);     \
   register unsigned long _flg __asm ("a3") = 0;                                \
   __asm __volatile ("swi 0x9f0002");                                   \
 }