Index: kernel/arch/amd64/include/byteorder.h
===================================================================
--- kernel/arch/amd64/include/byteorder.h	(revision 134877d64bac047ca117c283bd304140ea31a7b0)
+++ kernel/arch/amd64/include/byteorder.h	(revision d7baee61b7e0ef91ce4828e0e32c18c917b49a87)
@@ -42,6 +42,6 @@
 #define uint64_t_le2host(n)		(n)
 
-#define uint32_t_be2host(n)		uint64_t_byteorder_swap(n)
-#define uint64_t_be2host(n)		uint32_t_byteorder_swap(n)
+#define uint32_t_be2host(n)		uint32_t_byteorder_swap(n)
+#define uint64_t_be2host(n)		uint64_t_byteorder_swap(n)
 
 #endif
