linux/arch/powerpc
Kumar Gala 2d1b202762 powerpc: Fixup lwsync at runtime
To allow for a single kernel image on e500 v1/v2/mc we need to fixup lwsync
at runtime.  On e500v1/v2 lwsync causes an illop so we need to patch up
the code.  We default to 'sync' since that is always safe and if the cpu
is capable we will replace 'sync' with 'lwsync'.

We introduce CPU_FTR_LWSYNC as a way to determine at runtime if this is
needed.  This flag could be moved elsewhere since we dont really use it
for the normal CPU_FTR purpose.

Finally we only store the relative offset in the fixup section to keep it
as small as possible rather than using a full fixup_entry.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-07-03 16:58:10 +10:00
..
boot powerpc/bootwrapper: Pad .dtb by default 2008-07-01 11:28:53 +10:00
configs Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
kernel powerpc: Fixup lwsync at runtime 2008-07-03 16:58:10 +10:00
kvm KVM: ppc: Report bad GFNs 2008-06-06 21:22:41 +03:00
lib powerpc: Fixup lwsync at runtime 2008-07-03 16:58:10 +10:00
math-emu powerpc: Add macros to access floating point registers in thread_struct. 2008-07-01 11:28:43 +10:00
mm powerpc: Fix building of arch/powerpc/mm/mem.o when MEMORY_HOTPLUG=y and SPARSEMEM=n 2008-07-03 16:58:07 +10:00
oprofile Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
platforms powerpc: Add CONFIG_VSX config option 2008-07-01 11:28:51 +10:00
sysdev Merge branch 'next' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx 2008-06-30 09:57:05 +10:00
xmon Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
.gitignore
Kconfig powerpc: Remove experimental status of kdump on 64-bit powerpc 2008-07-01 11:28:57 +10:00
Kconfig.debug powerpc: Add self-tests of the feature fixup code 2008-07-01 11:28:30 +10:00
Makefile powerpc: Get rid of CROSS32{AS,LD,OBJCOPY} 2008-06-30 22:30:39 +10:00