This patch moves the define directive for BUFF_MAX to the hal.h. The
directives in the other files related to the hal are removed. This patch
also inserts the include directive for this hal.h to the files, which
require BUFF_MAX.
Change-Id: Id6115ad79b0c43f64518fb2aabdacd04b3745e25
Signed-off-by: Wook Song <wook16.song@samsung.com>
#include <stdio.h>
#include <stdint.h>
+#define BUFF_MAX 255
+
#define MAKE_2B_CODE_2(A,B) \
((((A) & 0xff) << 8) | ((B) & 0xff))
#define MAKE_2B_CODE_4(A,B,C,D) \
}
/* Get the load_table of each resource to estimate the system load. */
-#define BUFF_MAX 255
int pass_get_cpu_stats(struct pass_policy *policy)
{
struct pass_cpu_stats *stats = policy->pass_cpu_stats;