forked from luck/tmp_suning_uos_patched
48cad41f7e
Because spufs might be built as a module, we can't have other parts of the kernel calling directly into it, we need stub routines that check first if the module is loaded. Currently we have two structures which hold callbacks for these stubs, the syscalls are in spufs_calls and the coredump calls are in spufs_coredump_calls. In both cases the logic for registering/unregistering is essentially the same, so we can simplify things by combining the two. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
28 lines
836 B
Makefile
28 lines
836 B
Makefile
obj-$(CONFIG_PPC_CELL_NATIVE) += interrupt.o iommu.o setup.o \
|
|
cbe_regs.o spider-pic.o \
|
|
pervasive.o pmu.o io-workarounds.o
|
|
obj-$(CONFIG_CBE_RAS) += ras.o
|
|
|
|
obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
|
|
obj-$(CONFIG_CBE_CPUFREQ_PMI) += cbe_cpufreq_pmi.o
|
|
obj-$(CONFIG_CBE_CPUFREQ) += cbe-cpufreq.o
|
|
cbe-cpufreq-y += cbe_cpufreq_pervasive.o cbe_cpufreq.o
|
|
|
|
ifeq ($(CONFIG_SMP),y)
|
|
obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o
|
|
endif
|
|
|
|
# needed only when building loadable spufs.ko
|
|
spu-priv1-$(CONFIG_PPC_CELL_NATIVE) += spu_priv1_mmio.o
|
|
|
|
spu-manage-$(CONFIG_PPC_CELLEB) += spu_manage.o
|
|
spu-manage-$(CONFIG_PPC_CELL_NATIVE) += spu_manage.o
|
|
|
|
obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \
|
|
spu_syscalls.o \
|
|
$(spu-priv1-y) \
|
|
$(spu-manage-y) \
|
|
spufs/
|
|
|
|
obj-$(CONFIG_PCI_MSI) += axon_msi.o
|