summaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic/Makefile
diff options
context:
space:
mode:
authorJayachandran C2011-11-11 12:38:29 +0100
committerRalf Baechle2011-12-07 23:04:55 +0100
commit0c9654072a6e15aa3da9b314f0c5c01e90938268 (patch)
tree865bbcf93aac081b15bf38604384e4bf7620024b /arch/mips/netlogic/Makefile
parentMIPS: Netlogic: No need to set -Werror in mips/xlr (diff)
downloadkernel-qcow2-linux-0c9654072a6e15aa3da9b314f0c5c01e90938268.tar.gz
kernel-qcow2-linux-0c9654072a6e15aa3da9b314f0c5c01e90938268.tar.xz
kernel-qcow2-linux-0c9654072a6e15aa3da9b314f0c5c01e90938268.zip
MIPS: Netlogic: Move code common with XLP to common/
- Move code that can be shared with XLP (irq.c, smp.c, time.c and xlr_console.c) to arch/mips/netlogic/common - Add asm/netlogic/haldefs.h and asm/netlogic/common.h for common and io functions shared with XLP - remove type 'nlm_reg_t *' and use uint64_t for mmio offsets - Move XLR specific code in smp.c to xlr/wakeup.c - Move XLR specific PCI code from irq.c to mips/pci/pci-xlr.c - Provide API for pic functions called from common/irq.c Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2964/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/Makefile')
-rw-r--r--arch/mips/netlogic/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/netlogic/Makefile b/arch/mips/netlogic/Makefile
new file mode 100644
index 000000000000..797326da3718
--- /dev/null
+++ b/arch/mips/netlogic/Makefile
@@ -0,0 +1,2 @@
+obj-$(CONFIG_NLM_COMMON) += common/
+obj-$(CONFIG_CPU_XLR) += xlr/