git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
arch
/
ia64
/
hp
/
common
/
sba_iommu.c
diff --git
a/arch/ia64/hp/common/sba_iommu.c
b/arch/ia64/hp/common/sba_iommu.c
index
db8e1fc
..
bdccd0b
100644
(file)
--- a/
arch/ia64/hp/common/sba_iommu.c
+++ b/
arch/ia64/hp/common/sba_iommu.c
@@
-19,6
+19,7
@@
**
*/
**
*/
+#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/module.h>
@@
-1957,7
+1958,7
@@
sba_map_ioc_to_node(struct ioc *ioc, acpi_handle handle)
if (pxm < 0)
return;
if (pxm < 0)
return;
- node = pxm_to_n
ode(pxm)
;
+ node = pxm_to_n
id_map[pxm]
;
if (node >= MAX_NUMNODES || !node_online(node))
return;
if (node >= MAX_NUMNODES || !node_online(node))
return;
@@
-1998,7
+1999,7
@@
acpi_sba_ioc_add(struct acpi_device *device)
if (!iovp_shift)
iovp_shift = min(PAGE_SHIFT, 16);
}
if (!iovp_shift)
iovp_shift = min(PAGE_SHIFT, 16);
}
-
kfree
(dev_info);
+
ACPI_MEM_FREE
(dev_info);
/*
* default anything not caught above or specified on cmdline to 4k
/*
* default anything not caught above or specified on cmdline to 4k