Changeset 3526da33 in mainline for arch/ia64/include/mm/page.h


Ignore:
Timestamp:
2005-08-20T22:16:40Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a8f9a82
Parents:
f4a61ef
Message:

For each architecture, add an extra type cast of x to address to both KA2PA() and PA2KA().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/include/mm/page.h

    rf4a61ef r3526da33  
    3535#define PAGE_SIZE       FRAME_SIZE
    3636
    37 #define KA2PA(x)        ((x)-0x8000000000000000)
    38 #define PA2KA(x)        ((x)+0x8000000000000000)
     37#define KA2PA(x)        (((__address) (x))-0x8000000000000000)
     38#define PA2KA(x)        (((__address) (x))+0x8000000000000000)
    3939
    4040#define page_arch_init()        ;
Note: See TracChangeset for help on using the changeset viewer.