Re: [PATCH] parisc: Do not hardcode PAGE_SIZE dependend values in assembler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ignore this patch - it's wrong.

Helge

On 16.03.2015 21:21, Helge Deller wrote:
Signed-off-by: Helge Deller <deller@xxxxxx>

diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S
index 2ab16bb..c9bbf88 100644
--- a/arch/parisc/kernel/entry.S
+++ b/arch/parisc/kernel/entry.S
@@ -640,9 +640,9 @@
  	 * Check "subtle" note in pacache.S re: r23/r26.
  	 */
  #ifdef CONFIG_64BIT
-	extrd,u,*=	\va,41,1,%r0
+	extrd,u,*=	\va,63-PAGE_SHIFT,1,%r0
  #else
-	extrw,u,=	\va,9,1,%r0
+	extrw,u,=	\va,31-PAGE_SHIFT,1,%r0
  #endif
  	or,COND(tr)	%r23,%r0,\pte
  	or		%r26,%r0,\pte


--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux