PARISC: fix PA1.1 oops on boot
[firefly-linux-kernel-4.4.55.git] / arch / parisc / kernel / entry.S
index 6f05944391439bcf88ac7761616bd94b24669fcd..5350342170218f635e4e231a4d10b1147210a1bf 100644 (file)
         */
        cmpiclr,=       0x01,\tmp,%r0
        ldi             (_PAGE_DIRTY|_PAGE_READ|_PAGE_WRITE),\prot
+#ifdef CONFIG_64BIT
        depd,z          \prot,8,7,\prot
+#else
+       depw,z          \prot,8,7,\prot
+#endif
        /*
         * OK, it is in the temp alias region, check whether "from" or "to".
         * Check "subtle" note in pacache.S re: r23/r26.