Page MenuHomeFreeBSD

D38494.1784792111.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D38494.1784792111.diff

diff --git a/sys/powerpc/powerpc/nexus.c b/sys/powerpc/powerpc/nexus.c
--- a/sys/powerpc/powerpc/nexus.c
+++ b/sys/powerpc/powerpc/nexus.c
@@ -83,8 +83,6 @@
struct resource *r, struct resource_map *map);
static bus_space_tag_t nexus_get_bus_tag(device_t, device_t);
-static int nexus_get_cpus(device_t, device_t, enum cpu_sets, size_t,
- cpuset_t *);
#ifdef SMP
static bus_bind_intr_t nexus_bind_intr;
#endif
@@ -112,7 +110,6 @@
#endif
DEVMETHOD(bus_config_intr, nexus_config_intr),
DEVMETHOD(bus_get_bus_tag, nexus_get_bus_tag),
- DEVMETHOD(bus_get_cpus, nexus_get_cpus),
/* ofw_bus interface */
DEVMETHOD(ofw_bus_map_intr, nexus_ofw_map_intr),
@@ -209,24 +206,6 @@
#endif
}
-static int
-nexus_get_cpus(device_t dev, device_t child, enum cpu_sets op, size_t setsize,
- cpuset_t *cpuset)
-{
-
- switch (op) {
-#ifdef SMP
- case INTR_CPUS:
- if (setsize != sizeof(cpuset_t))
- return (EINVAL);
- *cpuset = all_cpus;
- return (0);
-#endif
- default:
- return (bus_generic_get_cpus(dev, child, op, setsize, cpuset));
- }
-}
-
#ifdef SMP
static int
nexus_bind_intr(device_t bus __unused, device_t child __unused,

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 7:35 AM (7 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29236355
Default Alt Text
D38494.1784792111.diff (1 KB)

Event Timeline