Changeset 7f1c620 in mainline for arch/sparc64/include/mm/page.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

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

    r991779c5 r7f1c620  
    4747#include <genarch/mm/page_ht.h>
    4848
    49 #define KA2PA(x)        ((__address) (x))
    50 #define PA2KA(x)        ((__address) (x))
     49#define KA2PA(x)        ((uintptr_t) (x))
     50#define PA2KA(x)        ((uintptr_t) (x))
    5151
    5252union page_address {
    53         __address address;
     53        uintptr_t address;
    5454        struct {
    55                 __u64 vpn : 51;         /**< Virtual Page Number. */
     55                uint64_t vpn : 51;              /**< Virtual Page Number. */
    5656                unsigned offset : 13;   /**< Offset. */
    5757        } __attribute__ ((packed));
Note: See TracChangeset for help on using the changeset viewer.