Commit d69f1d7f authored by Thomas Waldecker's avatar Thomas Waldecker Committed by Benjamin Herrenschmidt

Documentation/powerpc: Fix path to the powerpc directory

ppc -> powerpc
Signed-off-by: default avatarThomas Waldecker <thomas.waldecker@gmail.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent bf99de36
...@@ -11,10 +11,10 @@ split instruction and data caches, and if the CPU supports the DOZE and NAP ...@@ -11,10 +11,10 @@ split instruction and data caches, and if the CPU supports the DOZE and NAP
sleep modes. sleep modes.
Detection of the feature set is simple. A list of processors can be found in Detection of the feature set is simple. A list of processors can be found in
arch/ppc/kernel/cputable.c. The PVR register is masked and compared with each arch/powerpc/kernel/cputable.c. The PVR register is masked and compared with
value in the list. If a match is found, the cpu_features of cur_cpu_spec is each value in the list. If a match is found, the cpu_features of cur_cpu_spec
assigned to the feature bitmask for this processor and a __setup_cpu function is assigned to the feature bitmask for this processor and a __setup_cpu
is called. function is called.
C code may test 'cur_cpu_spec[smp_processor_id()]->cpu_features' for a C code may test 'cur_cpu_spec[smp_processor_id()]->cpu_features' for a
particular feature bit. This is done in quite a few places, for example particular feature bit. This is done in quite a few places, for example
...@@ -51,6 +51,6 @@ should be used in the majority of cases. ...@@ -51,6 +51,6 @@ should be used in the majority of cases.
The END_FTR_SECTION macros are implemented by storing information about this The END_FTR_SECTION macros are implemented by storing information about this
code in the '__ftr_fixup' ELF section. When do_cpu_ftr_fixups code in the '__ftr_fixup' ELF section. When do_cpu_ftr_fixups
(arch/ppc/kernel/misc.S) is invoked, it will iterate over the records in (arch/powerpc/kernel/misc.S) is invoked, it will iterate over the records in
__ftr_fixup, and if the required feature is not present it will loop writing __ftr_fixup, and if the required feature is not present it will loop writing
nop's from each BEGIN_FTR_SECTION to END_FTR_SECTION. nop's from each BEGIN_FTR_SECTION to END_FTR_SECTION.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment