mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix some Sparc64 compile warnings
git-svn-id: svn://coreboot.org/openbios/openbios-devel@190 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -20,7 +20,7 @@ va2pa(unsigned long va)
|
||||
static inline unsigned long
|
||||
pa2va(unsigned long pa)
|
||||
{
|
||||
if ((pa + va_shift >= (unsigned long)&_data) &&
|
||||
if ((pa + va_shift >= (unsigned long)&_data) &&
|
||||
(pa + va_shift< (unsigned long)&_end))
|
||||
return pa + va_shift;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user