- /* Copy the page table address to cp15 */
- asm volatile("mcr p15, 0, %0, c2, c0, 0"
- : : "r" (gd->arch.tlb_addr) : "memory");
- /* Set the access control to all-supervisor */
- asm volatile("mcr p15, 0, %0, c3, c0, 0"
- : : "r" (~0));
+ asm volatile(
+ /* Copy the page table address to cp15 */
+ "mcr p15, 0, %0, c2, c0, 0\n"
+ /* Set the access control to all-supervisor */
+ "mcr p15, 0, %1, c3, c0, 0\n"
+ :
+ : "r"(page_table), "r"(~0)
+ );