RE: [PATCH 4/6v3] byteorder: wire up arches to use new headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/include/asm-ia64/byteorder.h b/include/asm-ia64/byteorder.h
>
> -static __inline__ __attribute_const__ __u64
> -__ia64_swab64 (__u64 x)
> +#define __LITTLE_ENDIAN
> +
> +static inline __attribute_const__ __u64 __arch_swab64(__u64 x)

You've changed the name of this routine from __ia64_swab64
to __arch_swab64 here.

...

But down below you still use the old name (twice):

> 	return __ia64_swab64(x) >> 32;

> 	return __ia64_swab64(x) >> 48;

Changing these calls to use the new name gets the build a lot further, but
it still dies for me at:

  CC [M]  fs/cifs/connect.o
In file included from include/linux/ipv6.h:202,
                 from fs/cifs/connect.c:26:
include/linux/tcp.h:72: error: braced-group within expression allowed only inside a function
include/linux/tcp.h:72: error: enumerator value for `TCP_FLAG_CWR' not integer constant
include/linux/tcp.h:73: error: syntax error before '&' token
include/linux/tcp.h:74: error: syntax error before '&' token
include/linux/tcp.h:75: error: syntax error before '&' token
include/linux/tcp.h:76: error: syntax error before '&' token
include/linux/tcp.h:77: error: syntax error before '&' token
include/linux/tcp.h:78: error: syntax error before '&' token
include/linux/tcp.h:79: error: syntax error before '&' token
include/linux/tcp.h:80: error: syntax error before '&' token
include/linux/tcp.h:81: error: syntax error before '&' token
make[2]: *** [fs/cifs/connect.o] Error 1
make[1]: *** [fs/cifs] Error 2


-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux