From 01754bbc692929e446e600f69b41013e554399a6 Mon Sep 17 00:00:00 2001 From: Atsushi Nemoto Date: Wed, 25 Jul 2007 01:50:08 +0900 Subject: [PATCH] [MIPS] tx49xx: Add mach specific headers Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- .../mach-tx49xx/cpu-feature-overrides.h | 23 +++++++++++++++++++ include/asm-mips/mach-tx49xx/kmalloc.h | 8 +++++++ 2 files changed, 31 insertions(+) create mode 100644 include/asm-mips/mach-tx49xx/cpu-feature-overrides.h create mode 100644 include/asm-mips/mach-tx49xx/kmalloc.h diff --git a/include/asm-mips/mach-tx49xx/cpu-feature-overrides.h b/include/asm-mips/mach-tx49xx/cpu-feature-overrides.h new file mode 100644 index 0000000000..275eaf92c7 --- /dev/null +++ b/include/asm-mips/mach-tx49xx/cpu-feature-overrides.h @@ -0,0 +1,23 @@ +#ifndef __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H +#define __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H + +#define cpu_has_llsc 1 +#define cpu_has_64bits 1 +#define cpu_has_inclusive_pcaches 0 + +#define cpu_has_mips16 0 +#define cpu_has_mdmx 0 +#define cpu_has_mips3d 0 +#define cpu_has_smartmips 0 +#define cpu_has_vtag_icache 0 +#define cpu_has_ic_fills_f_dc 0 +#define cpu_has_dsp 0 +#define cpu_has_mipsmt 0 +#define cpu_has_userlocal 0 + +#define cpu_has_mips32r1 0 +#define cpu_has_mips32r2 0 +#define cpu_has_mips64r1 0 +#define cpu_has_mips64r2 0 + +#endif /* __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H */ diff --git a/include/asm-mips/mach-tx49xx/kmalloc.h b/include/asm-mips/mach-tx49xx/kmalloc.h new file mode 100644 index 0000000000..913ff19625 --- /dev/null +++ b/include/asm-mips/mach-tx49xx/kmalloc.h @@ -0,0 +1,8 @@ +#ifndef __ASM_MACH_TX49XX_KMALLOC_H +#define __ASM_MACH_TX49XX_KMALLOC_H + +/* + * All happy, no need to define ARCH_KMALLOC_MINALIGN + */ + +#endif /* __ASM_MACH_TX49XX_KMALLOC_H */ -- 2.39.5