[SG] Add debug check for page alignment

Suggested by Boaz Harrosh <bharrosh@panasas.com>

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

+5
+5
include/linux/scatterlist.h
··· 41 41 { 42 42 unsigned long page_link = sg->page_link & 0x3; 43 43 44 + /* 45 + * In order for the low bit stealing approach to work, pages 46 + * must be aligned at a 32-bit boundary as a minimum. 47 + */ 48 + BUG_ON((unsigned long) page & 0x03); 44 49 #ifdef CONFIG_DEBUG_SG 45 50 BUG_ON(sg->sg_magic != SG_MAGIC); 46 51 #endif