In some framebuffer configuration code I had seen these lines:
static unsigned int max_size = 0;
max_size = max(max_size, 8*(mi->xres * (mi->xres + mi->yres)));
}
max_size = PAGE_ALIGN(max_size);
What does PAGE_ALIGN
do to and unsigned int
? shouldn't it get an address?
mi is `struct fb_videomode *`