Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
authorDavid S. Miller <davem@davemloft.net>
Mon, 8 Sep 2008 22:39:30 +0000 (15:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Sep 2008 22:39:30 +0000 (15:39 -0700)
Conflicts:

arch/sparc/kernel/of_device.c

1  2 
arch/sparc/kernel/of_device.c
arch/sparc/kernel/sun4d_smp.c
arch/sparc64/Kconfig
arch/sparc64/kernel/of_device.c
arch/sparc64/mm/init.c

index 4ef160755881b61ed52f34c5e25d54dd98ee6483,c481d45f97b748a3748c8fcc813be7d7965555e6..c88af7efc335203de664b742ae12f6d62af6ce50
@@@ -409,8 -371,12 +415,9 @@@ static void __init build_device_resourc
  
                memcpy(addr, reg, na * 4);
  
 -              /* If the immediate parent has no ranges property to apply,
 -               * just use a 1<->1 mapping.
 -               */
 -              if (of_find_property(pp, "ranges", NULL) == NULL) {
+               flags = bus->get_flags(reg, 0);
 +              if (use_1to1_mapping(pp)) {
                        result = of_read_addr(addr, na);
                        goto build_res;
                }
Simple merge
Simple merge
Simple merge
Simple merge