Messages in this thread | | | Date | Tue, 20 Jan 2004 15:13:58 -0800 | From | Andrew Morton <> | Subject | Re: More cleanups for swsusp |
| |
Pavel Machek <pavel@ucw.cz> wrote: > > + BUG_ON (sizeof(struct link) != PAGE_SIZE);
Looking at the code, this hardly seems worth checking. But the compiler should just rub this code out anwyay, so whatever.
hmm, one could do:
#define compile_time_assert(expr) \ do { \ if (!(expr)) \ compile_time_assert_failed(); /* undefined */ \ } while (0)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |