Changeset b6e97d7 in mainline


Ignore:
Timestamp:
2006-12-21T09:23:34Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b2e5e25
Parents:
b84ce45
Message:

Fix all remaining mistmatches in width of byte swapping functions for ia64,
ppc32, ppc64, amd64, mips32 and ia32.

Location:
kernel/arch
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/byteorder.h

    rb84ce45 rb6e97d7  
    4242#define uint64_t_le2host(n)             (n)
    4343
    44 #define uint32_t_be2host(n)             uint64_t_byteorder_swap(n)
    45 #define uint64_t_be2host(n)             uint32_t_byteorder_swap(n)
     44#define uint32_t_be2host(n)             uint32_t_byteorder_swap(n)
     45#define uint64_t_be2host(n)             uint64_t_byteorder_swap(n)
    4646
    4747#endif
  • kernel/arch/ia32/include/byteorder.h

    rb84ce45 rb6e97d7  
    4242#define uint64_t_le2host(n)             (n)
    4343
    44 #define uint32_t_be2host(n)             uint64_t_byteorder_swap(n)
    45 #define uint64_t_be2host(n)             uint32_t_byteorder_swap(n)
     44#define uint32_t_be2host(n)             uint32_t_byteorder_swap(n)
     45#define uint64_t_be2host(n)             uint64_t_byteorder_swap(n)
    4646
    4747#endif
  • kernel/arch/ia64/include/byteorder.h

    rb84ce45 rb6e97d7  
    4242#define uint64_t_le2host(n)             (n)
    4343
    44 #define uint32_t_be2host(n)             uint64_t_byteorder_swap(n)
    45 #define uint64_t_be2host(n)             uint32_t_byteorder_swap(n)
     44#define uint32_t_be2host(n)             uint32_t_byteorder_swap(n)
     45#define uint64_t_be2host(n)             uint64_t_byteorder_swap(n)
    4646
    4747#endif
  • kernel/arch/mips32/include/byteorder.h

    rb84ce45 rb6e97d7  
    4040#ifdef BIG_ENDIAN
    4141
    42 #define uint32_t_le2host(n)             uint64_t_byteorder_swap(n)
    43 #define uint64_t_le2host(n)             uint32_t_byteorder_swap(n)
     42#define uint32_t_le2host(n)             uint32_t_byteorder_swap(n)
     43#define uint64_t_le2host(n)             uint64_t_byteorder_swap(n)
    4444
    4545#define uint32_t_be2host(n)             (n)
     
    5151#define uint64_t_le2host(n)             (n)
    5252
    53 #define uint32_t_be2host(n)             uint64_t_byteorder_swap(n)
    54 #define uint64_t_be2host(n)             uint32_t_byteorder_swap(n)
     53#define uint32_t_be2host(n)             uint32_t_byteorder_swap(n)
     54#define uint64_t_be2host(n)             uint64_t_byteorder_swap(n)
    5555
    5656#endif
  • kernel/arch/ppc32/include/byteorder.h

    rb84ce45 rb6e97d7  
    3838#include <byteorder.h>
    3939
    40 #define uint32_t_le2host(n)             uint64_t_byteorder_swap(n)
    41 #define uint64_t_le2host(n)             uint32_t_byteorder_swap(n)
     40#define uint32_t_le2host(n)             uint32_t_byteorder_swap(n)
     41#define uint64_t_le2host(n)             uint64_t_byteorder_swap(n)
    4242
    4343#define uint32_t_be2host(n)             (n)
  • kernel/arch/ppc64/include/byteorder.h

    rb84ce45 rb6e97d7  
    3838#include <byteorder.h>
    3939
    40 #define uint32_t_le2host(n)             uint64_t_byteorder_swap(n)
    41 #define uint64_t_le2host(n)             uint32_t_byteorder_swap(n)
     40#define uint32_t_le2host(n)             uint32_t_byteorder_swap(n)
     41#define uint64_t_le2host(n)             uint64_t_byteorder_swap(n)
    4242
    4343#define uint32_t_be2host(n)             (n)
Note: See TracChangeset for help on using the changeset viewer.