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
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
arch
/
arm
/
mm
/
blockops.c
diff --git
a/arch/arm/mm/blockops.c
b/arch/arm/mm/blockops.c
index
9982c4c
..
806c6ee
100644
(file)
--- a/
arch/arm/mm/blockops.c
+++ b/
arch/arm/mm/blockops.c
@@
-130,6
+130,7
@@
static struct undef_hook blockops_hook __initdata = {
static int __init blockops_check(void)
{
register unsigned int err asm("r4") = 0;
static int __init blockops_check(void)
{
register unsigned int err asm("r4") = 0;
+ unsigned int err_pos = 1;
unsigned int cache_type;
int i;
unsigned int cache_type;
int i;
@@
-156,8
+157,8
@@
static int __init blockops_check(void)
unregister_undef_hook(&blockops_hook);
unregister_undef_hook(&blockops_hook);
- for (i = 0; i < ARRAY_SIZE(func); i++, err
>>
= 1)
- printk("%30s: %ssupported\n", func[i], err &
1
? "not " : "");
+ for (i = 0; i < ARRAY_SIZE(func); i++, err
_pos <<
= 1)
+ printk("%30s: %ssupported\n", func[i], err &
err_pos
? "not " : "");
if ((err & 8) == 0) {
printk(" --> Using %s block cache invalidate\n",
if ((err & 8) == 0) {
printk(" --> Using %s block cache invalidate\n",