hv: lib: add max()/min() API
Add max()/min() lib API
Acked-by: Eddie Dong
/** Roundup (x/y) to ( x/y + (x%y) ? 1 : 0) **/
#define INT_DIV_ROUNDUP(x, y) (((x)+(y)-1)/(y))
+#define min(x, y) ((x) < (y)) ? (x) : (y)
+
+#define max(x, y) ((x) < (y)) ? (y) : (x)
+
#endif /* UTIL_H */
