require '_h2ph_pre.ph'; no warnings 'redefine'; unless(defined(&__ASM_ARM_BYTEORDER_H)) { eval 'sub __ASM_ARM_BYTEORDER_H () {1;}' unless defined(&__ASM_ARM_BYTEORDER_H); require 'linux/compiler.ph'; require 'asm/types.ph'; # some #ifdef were dropped here -- fill in the blanks eval 'sub ___arch__swab32 { my($x) = @_; eval q({ &__u32 &t; &t = $x ^ (($x << 16) | ($x >> 16)); $x = ($x << 24) | ($x >> 8); &t &= ~0xff0000; $x ^= ( &t >> 8); $x; }); }' unless defined(&___arch__swab32); eval 'sub __arch__swab32 { my($x) = @_; eval q( &___arch__swab32($x)); }' unless defined(&__arch__swab32); if(!defined( &__STRICT_ANSI__) || defined( &__KERNEL__)) { eval 'sub __BYTEORDER_HAS_U64__ () {1;}' unless defined(&__BYTEORDER_HAS_U64__); eval 'sub __SWAB_64_THRU_32__ () {1;}' unless defined(&__SWAB_64_THRU_32__); } if(defined(&__ARMEB__)) { require 'linux/byteorder/big_endian.ph'; } else { require 'linux/byteorder/little_endian.ph'; } } 1;