Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 467 → Rev 468

/shark/trunk/drivers/fb/fbmem.c
387,7 → 387,7
#define NUM_FB_DRIVERS (sizeof(fb_drivers)/sizeof(*fb_drivers))
#define FBPIXMAPSIZE 8192
 
extern const char *global_mode_option;
//extern const char *global_mode_option;
 
static initcall_t pref_init_funcs[FB_MAX];
static int num_pref_init_funcs __initdata = 0;
1126,8 → 1126,8
#elif defined(__alpha__)
/* Caching is off in the I/O space quadrant by design. */
#elif defined(__i386__) || defined(__x86_64__)
if (boot_cpu_data.x86 > 3)
pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
//if (boot_cpu_data.x86 > 3)
// pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
#elif defined(__mips__)
pgprot_val(vma->vm_page_prot) &= ~_CACHE_MASK;
pgprot_val(vma->vm_page_prot) |= _CACHE_UNCACHED;
1367,7 → 1367,7
* If we get here no fb was specified.
* We consider the argument to be a global video mode option.
*/
global_mode_option = options;
//global_mode_option = options;
return 0;
}