mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 21:24:00 +08:00
e4a064dfa2
Enable the uncached allocator to allocate multiple pages of contiguous uncached memory. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
13 lines
463 B
C
13 lines
463 B
C
/*
|
|
* Copyright (C) 2001-2008 Silicon Graphics, Inc. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of version 2 of the GNU General Public License
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* Prototypes for the uncached page allocator
|
|
*/
|
|
|
|
extern unsigned long uncached_alloc_page(int starting_nid, int n_pages);
|
|
extern void uncached_free_page(unsigned long uc_addr, int n_pages);
|