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:
Axel Dörfler 2004-08-16 16:18:48 +00:00
parent d51a69a420
commit a468da6449

View File

@ -1,6 +1,6 @@
/*
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. 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;
for (uint32 i = 0; i < 0x100000; i++) {
asm volatile("tlbie %0" :: "r" (address));
asm volatile("tlbie %0" : : "r" (address));
address += B_PAGE_SIZE;
}
tlbsync();