diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-08-10 23:39:03 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-08-10 23:39:03 +0000 |
commit | e2222c39248e7a54ffdb8325ba7edf2e23171306 (patch) | |
tree | f910989a75bdc399d01e06c7a42389431db1258e /softmmu_template.h | |
parent | PowerPC fix (Jon Nall) (diff) | |
download | qemu-kvm-e2222c39248e7a54ffdb8325ba7edf2e23171306.tar.gz qemu-kvm-e2222c39248e7a54ffdb8325ba7edf2e23171306.tar.bz2 qemu-kvm-e2222c39248e7a54ffdb8325ba7edf2e23171306.zip |
removed warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@360 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'softmmu_template.h')
-rw-r--r-- | softmmu_template.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/softmmu_template.h b/softmmu_template.h index 871cf5491..c36e25ae2 100644 --- a/softmmu_template.h +++ b/softmmu_template.h @@ -81,7 +81,7 @@ static inline void glue(io_write, SUFFIX)(unsigned long physaddr, } /* handle all cases except unaligned access which span two pages */ -DATA_TYPE __attribute((regparm(1))) glue(glue(__ld, SUFFIX), _mmu)(unsigned long addr) +DATA_TYPE REGPARM(1) glue(glue(__ld, SUFFIX), _mmu)(unsigned long addr) { DATA_TYPE res; int is_user, index; @@ -163,7 +163,7 @@ static DATA_TYPE glue(slow_ld, SUFFIX)(unsigned long addr, void *retaddr) } -void __attribute((regparm(2))) glue(glue(__st, SUFFIX), _mmu)(unsigned long addr, DATA_TYPE val) +void REGPARM(2) glue(glue(__st, SUFFIX), _mmu)(unsigned long addr, DATA_TYPE val) { unsigned long physaddr, tlb_addr; void *retaddr; |