diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-08-06 16:09:05 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-08-06 16:09:05 -0700 |
commit | f96bff9e213a950ab910832908d30e732435e628 (patch) | |
tree | 16a223190abaf0c5132bdad8e7a260544d5beb62 /linux-core/xgi_cmdlist.c | |
parent | 5362cc723e6605c31d152eb22ee3dc40c9e3f56b (diff) |
Unify infrastructure for allocating (not yet freeing) on-card / GART memory.
Diffstat (limited to 'linux-core/xgi_cmdlist.c')
-rw-r--r-- | linux-core/xgi_cmdlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/xgi_cmdlist.c b/linux-core/xgi_cmdlist.c index e0ca31f1..33155827 100644 --- a/linux-core/xgi_cmdlist.c +++ b/linux-core/xgi_cmdlist.c @@ -37,11 +37,12 @@ static void xgi_cmdlist_reset(struct xgi_info * info); int xgi_cmdlist_initialize(struct xgi_info * info, size_t size) { struct xgi_mem_alloc mem_alloc = { + .location = XGI_MEMLOC_NON_LOCAL, .size = size, }; int err; - err = xgi_pcie_alloc(info, &mem_alloc, 0); + err = xgi_alloc(info, &mem_alloc, 0); if (err) { return err; } |