replaced swap_workaround macro with byte_swap_32() from bitops.c

This commit is contained in:
jsteube
2016-10-01 12:39:48 +02:00
parent 91efbc4562
commit ac3b850e40
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#ifndef _RP_KERNEL_ON_CPU_H
#define _RP_KERNEL_ON_CPU_H
#define swap_workaround(n) __builtin_bswap32(n)
u32 swap_workaround (const u32 n);
u32 apply_rule (const u32 name, const u32 p0, const u32 p1, u32 buf0[4], u32 buf1[4], const u32 in_len);
u32 apply_rules (u32 *cmds, u32 buf0[4], u32 buf1[4], const u32 len);