diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-17 10:08:32 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-02 16:23:26 -0500 |
commit | e399b1a4e1d205bdc816cb550d2064f2eb1ddc4c (patch) | |
tree | cf31e0aeafd972a8ea417dca1ff66c1e0315c907 /arch | |
parent | 000d9c78eb5cd7f18e3d6a381d66e606bc9b8196 (diff) |
ARM: v6k: introduce CPU_V6K option
Introduce a CPU_V6K configuration option for platforms to select if they
have a V6K CPU core. This allows us to identify whether we need to
support ARMv6 CPUs without the V6K SMP extensions at build time.
Currently CPU_V6K is just an alias for CPU_V6, and all places which
reference CPU_V6 are replaced by (CPU_V6 || CPU_V6K).
Select CPU_V6K from platforms which are known to be V6K-only.
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 10 | ||||
-rw-r--r-- | arch/arm/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/compressed/head.S | 2 | ||||
-rw-r--r-- | arch/arm/boot/compressed/misc.c | 2 | ||||
-rw-r--r-- | arch/arm/include/asm/cacheflush.h | 5 | ||||
-rw-r--r-- | arch/arm/include/asm/proc-fns.h | 2 | ||||
-rw-r--r-- | arch/arm/kernel/debug.S | 2 | ||||
-rw-r--r-- | arch/arm/kernel/perf_event_v6.c | 4 | ||||
-rw-r--r-- | arch/arm/mm/Kconfig | 47 | ||||
-rw-r--r-- | arch/arm/mm/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mm/mmap.c | 2 |
11 files changed, 47 insertions, 31 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5cff165b7eb0..95ba92ff0d41 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -24,7 +24,7 @@ config ARM | |||
24 | select HAVE_PERF_EVENTS | 24 | select HAVE_PERF_EVENTS |
25 | select PERF_USE_VMALLOC | 25 | select PERF_USE_VMALLOC |
26 | select HAVE_REGS_AND_STACK_ACCESS_API | 26 | select HAVE_REGS_AND_STACK_ACCESS_API |
27 | select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V7)) | 27 | select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7)) |
28 | select HAVE_C_RECORDMCOUNT | 28 | select HAVE_C_RECORDMCOUNT |
29 | select HAVE_GENERIC_HARDIRQS | 29 | select HAVE_GENERIC_HARDIRQS |
30 | select HAVE_SPARSE_IRQ | 30 | select HAVE_SPARSE_IRQ |
@@ -1048,7 +1048,7 @@ config XSCALE_PMU | |||
1048 | default y | 1048 | default y |
1049 | 1049 | ||
1050 | config CPU_HAS_PMU | 1050 | config CPU_HAS_PMU |
1051 | depends on (CPU_V6 || CPU_V7 || XSCALE_PMU) && \ | 1051 | depends on (CPU_V6 || CPU_V6K || CPU_V7 || XSCALE_PMU) && \ |
1052 | (!ARCH_OMAP3 || OMAP3_EMU) | 1052 | (!ARCH_OMAP3 || OMAP3_EMU) |
1053 | default y | 1053 | default y |
1054 | bool | 1054 | bool |
@@ -1064,7 +1064,7 @@ endif | |||
1064 | 1064 | ||
1065 | config ARM_ERRATA_411920 | 1065 | config ARM_ERRATA_411920 |
1066 | bool "ARM errata: Invalidation of the Instruction Cache operation can fail" | 1066 | bool "ARM errata: Invalidation of the Instruction Cache operation can fail" |
1067 | depends on CPU_V6 | 1067 | depends on CPU_V6 || CPU_V6K |
1068 | help | 1068 | help |
1069 | Invalidation of the Instruction Cache operation can | 1069 | Invalidation of the Instruction Cache operation can |
1070 | fail. This erratum is present in 1136 (before r1p4), 1156 and 1176. | 1070 | fail. This erratum is present in 1136 (before r1p4), 1156 and 1176. |
@@ -1361,7 +1361,7 @@ config HZ | |||
1361 | 1361 | ||
1362 | config THUMB2_KERNEL | 1362 | config THUMB2_KERNEL |
1363 | bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)" | 1363 | bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)" |
1364 | depends on CPU_V7 && !CPU_V6 && EXPERIMENTAL | 1364 | depends on CPU_V7 && !CPU_V6 && !CPU_V6K && EXPERIMENTAL |
1365 | select AEABI | 1365 | select AEABI |
1366 | select ARM_ASM_UNIFIED | 1366 | select ARM_ASM_UNIFIED |
1367 | help | 1367 | help |
@@ -1852,7 +1852,7 @@ config FPE_FASTFPE | |||
1852 | 1852 | ||
1853 | config VFP | 1853 | config VFP |
1854 | bool "VFP-format floating point maths" | 1854 | bool "VFP-format floating point maths" |
1855 | depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON | 1855 | depends on CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON |
1856 | help | 1856 | help |
1857 | Say Y to include VFP support code in the kernel. This is needed | 1857 | Say Y to include VFP support code in the kernel. This is needed |
1858 | if your hardware includes a VFP unit. | 1858 | if your hardware includes a VFP unit. |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index c22c1adfedd6..9c430525e13e 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -89,6 +89,7 @@ tune-$(CONFIG_CPU_XSCALE) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) | |||
89 | tune-$(CONFIG_CPU_XSC3) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale | 89 | tune-$(CONFIG_CPU_XSC3) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale |
90 | tune-$(CONFIG_CPU_FEROCEON) :=$(call cc-option,-mtune=marvell-f,-mtune=xscale) | 90 | tune-$(CONFIG_CPU_FEROCEON) :=$(call cc-option,-mtune=marvell-f,-mtune=xscale) |
91 | tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm) | 91 | tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm) |
92 | tune-$(CONFIG_CPU_V6K) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm) | ||
92 | 93 | ||
93 | ifeq ($(CONFIG_AEABI),y) | 94 | ifeq ($(CONFIG_AEABI),y) |
94 | CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork | 95 | CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork |
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index 7193884ed8b0..91f20f0b3044 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #if defined(CONFIG_DEBUG_ICEDCC) | 22 | #if defined(CONFIG_DEBUG_ICEDCC) |
23 | 23 | ||
24 | #ifdef CONFIG_CPU_V6 | 24 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) |
25 | .macro loadsp, rb, tmp | 25 | .macro loadsp, rb, tmp |
26 | .endm | 26 | .endm |
27 | .macro writeb, ch, rb | 27 | .macro writeb, ch, rb |
diff --git a/arch/arm/boot/compressed/misc.c b/arch/arm/boot/compressed/misc.c index e653a6d3c8d9..4657e877bf8f 100644 --- a/arch/arm/boot/compressed/misc.c +++ b/arch/arm/boot/compressed/misc.c | |||
@@ -36,7 +36,7 @@ extern void error(char *x); | |||
36 | 36 | ||
37 | #ifdef CONFIG_DEBUG_ICEDCC | 37 | #ifdef CONFIG_DEBUG_ICEDCC |
38 | 38 | ||
39 | #ifdef CONFIG_CPU_V6 | 39 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) |
40 | 40 | ||
41 | static void icedcc_putc(int ch) | 41 | static void icedcc_putc(int ch) |
42 | { | 42 | { |
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h index 3acd8fa25e34..7d0614f599a7 100644 --- a/arch/arm/include/asm/cacheflush.h +++ b/arch/arm/include/asm/cacheflush.h | |||
@@ -116,7 +116,7 @@ | |||
116 | # define MULTI_CACHE 1 | 116 | # define MULTI_CACHE 1 |
117 | #endif | 117 | #endif |
118 | 118 | ||
119 | #if defined(CONFIG_CPU_V6) | 119 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) |
120 | //# ifdef _CACHE | 120 | //# ifdef _CACHE |
121 | # define MULTI_CACHE 1 | 121 | # define MULTI_CACHE 1 |
122 | //# else | 122 | //# else |
@@ -316,7 +316,8 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *, | |||
316 | * Optimized __flush_icache_all for the common cases. Note that UP ARMv7 | 316 | * Optimized __flush_icache_all for the common cases. Note that UP ARMv7 |
317 | * will fall through to use __flush_icache_all_generic. | 317 | * will fall through to use __flush_icache_all_generic. |
318 | */ | 318 | */ |
319 | #if (defined(CONFIG_CPU_V7) && defined(CONFIG_CPU_V6)) || \ | 319 | #if (defined(CONFIG_CPU_V7) && \ |
320 | (defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K))) || \ | ||
320 | defined(CONFIG_SMP_ON_UP) | 321 | defined(CONFIG_SMP_ON_UP) |
321 | #define __flush_icache_preferred __cpuc_flush_icache_all | 322 | #define __flush_icache_preferred __cpuc_flush_icache_all |
322 | #elif __LINUX_ARM_ARCH__ >= 7 && defined(CONFIG_SMP) | 323 | #elif __LINUX_ARM_ARCH__ >= 7 && defined(CONFIG_SMP) |
diff --git a/arch/arm/include/asm/proc-fns.h b/arch/arm/include/asm/proc-fns.h index 8fdae9bc9abb..296ca47489f9 100644 --- a/arch/arm/include/asm/proc-fns.h +++ b/arch/arm/include/asm/proc-fns.h | |||
@@ -231,7 +231,7 @@ | |||
231 | # endif | 231 | # endif |
232 | #endif | 232 | #endif |
233 | 233 | ||
234 | #ifdef CONFIG_CPU_V6 | 234 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) |
235 | # ifdef CPU_NAME | 235 | # ifdef CPU_NAME |
236 | # undef MULTI_CPU | 236 | # undef MULTI_CPU |
237 | # define MULTI_CPU | 237 | # define MULTI_CPU |
diff --git a/arch/arm/kernel/debug.S b/arch/arm/kernel/debug.S index a0f07521ca8a..d2d983be096d 100644 --- a/arch/arm/kernel/debug.S +++ b/arch/arm/kernel/debug.S | |||
@@ -25,7 +25,7 @@ | |||
25 | .macro addruart, rp, rv | 25 | .macro addruart, rp, rv |
26 | .endm | 26 | .endm |
27 | 27 | ||
28 | #if defined(CONFIG_CPU_V6) | 28 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) |
29 | 29 | ||
30 | .macro senduart, rd, rx | 30 | .macro senduart, rd, rx |
31 | mcr p14, 0, \rd, c0, c5, 0 | 31 | mcr p14, 0, \rd, c0, c5, 0 |
diff --git a/arch/arm/kernel/perf_event_v6.c b/arch/arm/kernel/perf_event_v6.c index c058bfc8532b..6fc2d228db55 100644 --- a/arch/arm/kernel/perf_event_v6.c +++ b/arch/arm/kernel/perf_event_v6.c | |||
@@ -30,7 +30,7 @@ | |||
30 | * enable the interrupt. | 30 | * enable the interrupt. |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #ifdef CONFIG_CPU_V6 | 33 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) |
34 | enum armv6_perf_types { | 34 | enum armv6_perf_types { |
35 | ARMV6_PERFCTR_ICACHE_MISS = 0x0, | 35 | ARMV6_PERFCTR_ICACHE_MISS = 0x0, |
36 | ARMV6_PERFCTR_IBUF_STALL = 0x1, | 36 | ARMV6_PERFCTR_IBUF_STALL = 0x1, |
@@ -669,4 +669,4 @@ static const struct arm_pmu *__init armv6mpcore_pmu_init(void) | |||
669 | { | 669 | { |
670 | return NULL; | 670 | return NULL; |
671 | } | 671 | } |
672 | #endif /* CONFIG_CPU_V6 */ | 672 | #endif /* CONFIG_CPU_V6 || CONFIG_CPU_V6K */ |
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 9d30c6f804b9..559e9330bb18 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -402,16 +402,18 @@ config CPU_V6 | |||
402 | select CPU_TLB_V6 if MMU | 402 | select CPU_TLB_V6 if MMU |
403 | 403 | ||
404 | # ARMv6k | 404 | # ARMv6k |
405 | config CPU_32v6K | 405 | config CPU_V6K |
406 | bool "Support ARM V6K processor extensions" if !SMP | 406 | bool "Support ARM V6K processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_DOVE |
407 | depends on CPU_V6 || CPU_V7 | 407 | select CPU_32v6 |
408 | default y if SMP && !(ARCH_MX3 || ARCH_OMAP2) | 408 | select CPU_32v6K if !ARCH_OMAP2 |
409 | help | 409 | select CPU_ABRT_EV6 |
410 | Say Y here if your ARMv6 processor supports the 'K' extension. | 410 | select CPU_PABRT_V6 |
411 | This enables the kernel to use some instructions not present | 411 | select CPU_CACHE_V6 |
412 | on previous processors, and as such a kernel build with this | 412 | select CPU_CACHE_VIPT |
413 | enabled will not boot on processors with do not support these | 413 | select CPU_CP15_MMU |
414 | instructions. | 414 | select CPU_HAS_ASID if MMU |
415 | select CPU_COPY_V6 if MMU | ||
416 | select CPU_TLB_V6 if MMU | ||
415 | 417 | ||
416 | # ARMv7 | 418 | # ARMv7 |
417 | config CPU_V7 | 419 | config CPU_V7 |
@@ -453,6 +455,17 @@ config CPU_32v6 | |||
453 | bool | 455 | bool |
454 | select TLS_REG_EMUL if !CPU_32v6K && !MMU | 456 | select TLS_REG_EMUL if !CPU_32v6K && !MMU |
455 | 457 | ||
458 | config CPU_32v6K | ||
459 | bool "Support ARM V6K processor extensions" if !SMP | ||
460 | depends on CPU_V6 || CPU_V6K || CPU_V7 | ||
461 | default y if SMP && !(ARCH_MX3 || ARCH_OMAP2) | ||
462 | help | ||
463 | Say Y here if your ARMv6 processor supports the 'K' extension. | ||
464 | This enables the kernel to use some instructions not present | ||
465 | on previous processors, and as such a kernel build with this | ||
466 | enabled will not boot on processors with do not support these | ||
467 | instructions. | ||
468 | |||
456 | config CPU_32v7 | 469 | config CPU_32v7 |
457 | bool | 470 | bool |
458 | 471 | ||
@@ -623,7 +636,7 @@ comment "Processor Features" | |||
623 | 636 | ||
624 | config ARM_THUMB | 637 | config ARM_THUMB |
625 | bool "Support Thumb user binaries" | 638 | bool "Support Thumb user binaries" |
626 | depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_V6 || CPU_V7 || CPU_FEROCEON | 639 | depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_V6 || CPU_V6K || CPU_V7 || CPU_FEROCEON |
627 | default y | 640 | default y |
628 | help | 641 | help |
629 | Say Y if you want to include kernel support for running user space | 642 | Say Y if you want to include kernel support for running user space |
@@ -681,7 +694,7 @@ config CPU_BIG_ENDIAN | |||
681 | config CPU_ENDIAN_BE8 | 694 | config CPU_ENDIAN_BE8 |
682 | bool | 695 | bool |
683 | depends on CPU_BIG_ENDIAN | 696 | depends on CPU_BIG_ENDIAN |
684 | default CPU_V6 || CPU_V7 | 697 | default CPU_V6 || CPU_V6K || CPU_V7 |
685 | help | 698 | help |
686 | Support for the BE-8 (big-endian) mode on ARMv6 and ARMv7 processors. | 699 | Support for the BE-8 (big-endian) mode on ARMv6 and ARMv7 processors. |
687 | 700 | ||
@@ -747,7 +760,7 @@ config CPU_CACHE_ROUND_ROBIN | |||
747 | 760 | ||
748 | config CPU_BPREDICT_DISABLE | 761 | config CPU_BPREDICT_DISABLE |
749 | bool "Disable branch prediction" | 762 | bool "Disable branch prediction" |
750 | depends on CPU_ARM1020 || CPU_V6 || CPU_MOHAWK || CPU_XSC3 || CPU_V7 || CPU_FA526 | 763 | depends on CPU_ARM1020 || CPU_V6 || CPU_V6K || CPU_MOHAWK || CPU_XSC3 || CPU_V7 || CPU_FA526 |
751 | help | 764 | help |
752 | Say Y here to disable branch prediction. If unsure, say N. | 765 | Say Y here to disable branch prediction. If unsure, say N. |
753 | 766 | ||
@@ -767,7 +780,7 @@ config NEEDS_SYSCALL_FOR_CMPXCHG | |||
767 | 780 | ||
768 | config DMA_CACHE_RWFO | 781 | config DMA_CACHE_RWFO |
769 | bool "Enable read/write for ownership DMA cache maintenance" | 782 | bool "Enable read/write for ownership DMA cache maintenance" |
770 | depends on CPU_V6 && SMP | 783 | depends on (CPU_V6 || CPU_V6K) && SMP |
771 | default y | 784 | default y |
772 | help | 785 | help |
773 | The Snoop Control Unit on ARM11MPCore does not detect the | 786 | The Snoop Control Unit on ARM11MPCore does not detect the |
@@ -823,7 +836,7 @@ config CACHE_L2X0 | |||
823 | config CACHE_PL310 | 836 | config CACHE_PL310 |
824 | bool | 837 | bool |
825 | depends on CACHE_L2X0 | 838 | depends on CACHE_L2X0 |
826 | default y if CPU_V7 && !CPU_V6 | 839 | default y if CPU_V7 && !(CPU_V6 || CPU_V6K) |
827 | help | 840 | help |
828 | This option enables optimisations for the PL310 cache | 841 | This option enables optimisations for the PL310 cache |
829 | controller. | 842 | controller. |
@@ -851,10 +864,10 @@ config ARM_L1_CACHE_SHIFT | |||
851 | default 5 | 864 | default 5 |
852 | 865 | ||
853 | config ARM_DMA_MEM_BUFFERABLE | 866 | config ARM_DMA_MEM_BUFFERABLE |
854 | bool "Use non-cacheable memory for DMA" if CPU_V6 && !CPU_V7 | 867 | bool "Use non-cacheable memory for DMA" if (CPU_V6 || CPU_V6K) && !CPU_V7 |
855 | depends on !(MACH_REALVIEW_PB1176 || REALVIEW_EB_ARM11MP || \ | 868 | depends on !(MACH_REALVIEW_PB1176 || REALVIEW_EB_ARM11MP || \ |
856 | MACH_REALVIEW_PB11MP) | 869 | MACH_REALVIEW_PB11MP) |
857 | default y if CPU_V6 || CPU_V7 | 870 | default y if CPU_V6 || CPU_V6K || CPU_V7 |
858 | help | 871 | help |
859 | Historically, the kernel has used strongly ordered mappings to | 872 | Historically, the kernel has used strongly ordered mappings to |
860 | provide DMA coherent memory. With the advent of ARMv7, mapping | 873 | provide DMA coherent memory. With the advent of ARMv7, mapping |
diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile index 00d74a04af3a..bca7e61928c7 100644 --- a/arch/arm/mm/Makefile +++ b/arch/arm/mm/Makefile | |||
@@ -90,6 +90,7 @@ obj-$(CONFIG_CPU_XSC3) += proc-xsc3.o | |||
90 | obj-$(CONFIG_CPU_MOHAWK) += proc-mohawk.o | 90 | obj-$(CONFIG_CPU_MOHAWK) += proc-mohawk.o |
91 | obj-$(CONFIG_CPU_FEROCEON) += proc-feroceon.o | 91 | obj-$(CONFIG_CPU_FEROCEON) += proc-feroceon.o |
92 | obj-$(CONFIG_CPU_V6) += proc-v6.o | 92 | obj-$(CONFIG_CPU_V6) += proc-v6.o |
93 | obj-$(CONFIG_CPU_V6K) += proc-v6.o | ||
93 | obj-$(CONFIG_CPU_V7) += proc-v7.o | 94 | obj-$(CONFIG_CPU_V7) += proc-v7.o |
94 | 95 | ||
95 | AFLAGS_proc-v6.o :=-Wa,-march=armv6 | 96 | AFLAGS_proc-v6.o :=-Wa,-march=armv6 |
diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c index b0a98305055c..afe209e1e1f8 100644 --- a/arch/arm/mm/mmap.c +++ b/arch/arm/mm/mmap.c | |||
@@ -31,7 +31,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, | |||
31 | struct mm_struct *mm = current->mm; | 31 | struct mm_struct *mm = current->mm; |
32 | struct vm_area_struct *vma; | 32 | struct vm_area_struct *vma; |
33 | unsigned long start_addr; | 33 | unsigned long start_addr; |
34 | #ifdef CONFIG_CPU_V6 | 34 | #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K) |
35 | unsigned int cache_type; | 35 | unsigned int cache_type; |
36 | int do_align = 0, aliasing = 0; | 36 | int do_align = 0, aliasing = 0; |
37 | 37 | ||