Fixed compilation error with GCC 2.95.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8595 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the Haiku License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -498,7 +498,7 @@ invalidate_tlb(void)
|
|||||||
|
|
||||||
addr_t address = 0;
|
addr_t address = 0;
|
||||||
for (uint32 i = 0; i < 0x100000; i++) {
|
for (uint32 i = 0; i < 0x100000; i++) {
|
||||||
asm volatile("tlbie %0" :: "r" (address));
|
asm volatile("tlbie %0" : : "r" (address));
|
||||||
address += B_PAGE_SIZE;
|
address += B_PAGE_SIZE;
|
||||||
}
|
}
|
||||||
tlbsync();
|
tlbsync();
|
||||||
|
|||||||
Reference in New Issue
Block a user