Deleted Added
full compact
kernel.h (277139) kernel.h (279737)
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 49 unchanged lines hidden (view full) ---

58#define KERN_DEBUG "<7>"
59
60#define BUG() panic("BUG")
61#define BUG_ON(condition) do { if (condition) BUG(); } while(0)
62#define WARN_ON BUG_ON
63
64#undef ALIGN
65#define ALIGN(x, y) roundup2((x), (y))
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 49 unchanged lines hidden (view full) ---

58#define KERN_DEBUG "<7>"
59
60#define BUG() panic("BUG")
61#define BUG_ON(condition) do { if (condition) BUG(); } while(0)
62#define WARN_ON BUG_ON
63
64#undef ALIGN
65#define ALIGN(x, y) roundup2((x), (y))
66#undef PTR_ALIGN
67#define PTR_ALIGN(p, a) ((__typeof(p))ALIGN((uintptr_t)(p), (a)))
66#define DIV_ROUND_UP howmany
67
68#define printk(X...) printf(X)
69
70/*
71 * The "pr_debug()" and "pr_devel()" macros should produce zero code
72 * unless DEBUG is defined:
73 */

--- 105 unchanged lines hidden ---
68#define DIV_ROUND_UP howmany
69
70#define printk(X...) printf(X)
71
72/*
73 * The "pr_debug()" and "pr_devel()" macros should produce zero code
74 * unless DEBUG is defined:
75 */

--- 105 unchanged lines hidden ---