projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40d78de
)
[PARISC] Test ioc_needs_fdc variable instead of open coding
author
Kyle McMartin
<kyle@parisc-linux.org>
Tue, 30 May 2006 17:50:29 +0000
(17:50 +0000)
committer
Kyle McMartin
<kyle@hera.kernel.org>
Tue, 27 Jun 2006 23:28:35 +0000
(23:28 +0000)
Some debugging code in sba_iommu.c should be testing ioc_needs_fdc,
not directly testing boot_cpu_data.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/parisc/sba_iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/parisc/sba_iommu.c
b/drivers/parisc/sba_iommu.c
index 49b61755119557411a3db4a160cd5a13c6bf4321..d09e39e39c60cbbef178b3e39c6b3e0c1a7ab7c8 100644
(file)
--- a/
drivers/parisc/sba_iommu.c
+++ b/
drivers/parisc/sba_iommu.c
@@
-1903,7
+1903,7
@@
sba_common_init(struct sba_device *sba_dev)
* (bit #61, big endian), we have to flush and sync every time
* IO-PDIR is changed in Ike/Astro.
*/
- if (
boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC
) {
+ if (
ioc_needs_fdc
) {
printk(KERN_INFO MODULE_NAME " FDC/SYNC required.\n");
} else {
printk(KERN_INFO MODULE_NAME " IOC has cache coherent PDIR.\n");