diff options
| author | James Morris <james.l.morris@oracle.com> | 2012-05-04 12:46:40 +1000 | 
|---|---|---|
| committer | James Morris <james.l.morris@oracle.com> | 2012-05-04 12:46:40 +1000 | 
| commit | 898bfc1d46bd76f8ea2a0fbd239dd2073efe2aa3 (patch) | |
| tree | e6e666085abe674dbf6292555961fe0a0f2e2d2f /arch/um/drivers/cow.h | |
| parent | 08162e6a23d476544adfe1164afe9ea8b34ab859 (diff) | |
| parent | 69964ea4c7b68c9399f7977aa5b9aa6539a6a98a (diff) | |
| download | olio-linux-3.10-898bfc1d46bd76f8ea2a0fbd239dd2073efe2aa3.tar.xz olio-linux-3.10-898bfc1d46bd76f8ea2a0fbd239dd2073efe2aa3.zip  | |
Merge tag 'v3.4-rc5' into next
Linux 3.4-rc5
Merge to pull in prerequisite change for Smack:
86812bb0de1a3758dc6c7aa01a763158a7c0638a
Requested by Casey.
Diffstat (limited to 'arch/um/drivers/cow.h')
| -rw-r--r-- | arch/um/drivers/cow.h | 35 | 
1 files changed, 0 insertions, 35 deletions
diff --git a/arch/um/drivers/cow.h b/arch/um/drivers/cow.h index dc36b222100..6673508f342 100644 --- a/arch/um/drivers/cow.h +++ b/arch/um/drivers/cow.h @@ -3,41 +3,6 @@  #include <asm/types.h> -#if defined(__KERNEL__) - -# include <asm/byteorder.h> - -# if defined(__BIG_ENDIAN) -#	define ntohll(x) (x) -#	define htonll(x) (x) -# elif defined(__LITTLE_ENDIAN) -#	define ntohll(x)  be64_to_cpu(x) -#	define htonll(x)  cpu_to_be64(x) -# else -#	error "Could not determine byte order" -# endif - -#else -/* For the definition of ntohl, htonl and __BYTE_ORDER */ -#include <endian.h> -#include <netinet/in.h> -#if defined(__BYTE_ORDER) - -#  if __BYTE_ORDER == __BIG_ENDIAN -#	define ntohll(x) (x) -#	define htonll(x) (x) -#  elif __BYTE_ORDER == __LITTLE_ENDIAN -#	define ntohll(x)  bswap_64(x) -#	define htonll(x)  bswap_64(x) -#  else -#	error "Could not determine byte order: __BYTE_ORDER uncorrectly defined" -#  endif - -#else  /* ! defined(__BYTE_ORDER) */ -#	error "Could not determine byte order: __BYTE_ORDER not defined" -#endif -#endif /* ! defined(__KERNEL__) */ -  extern int init_cow_file(int fd, char *cow_file, char *backing_file,  			 int sectorsize, int alignment, int *bitmap_offset_out,  			 unsigned long *bitmap_len_out, int *data_offset_out);  |