linux/arch/powerpc
Paul Mackerras fab5db97e4 [PATCH] powerpc: Implement support for setting little-endian mode via prctl
This adds the PowerPC part of the code to allow processes to change
their endian mode via prctl.

This also extends the alignment exception handler to be able to fix up
alignment exceptions that occur in little-endian mode, both for
"PowerPC" little-endian and true little-endian.

We always enter signal handlers in big-endian mode -- the support for
little-endian mode does not amount to the creation of a little-endian
user/kernel ABI.  If the signal handler returns, the endian mode is
restored to what it was when the signal was delivered.

We have two new kernel CPU feature bits, one for PPC little-endian and
one for true little-endian.  Most of the classic 32-bit processors
support PPC little-endian, and this is reflected in the CPU feature
table.  There are two corresponding feature bits reported to userland
in the AT_HWCAP aux vector entry.

This is based on an earlier patch by Anton Blanchard.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-06-09 21:24:15 +10:00
..
boot Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
configs Merge branch 'merge' 2006-04-29 16:15:57 +10:00
kernel [PATCH] powerpc: Implement support for setting little-endian mode via prctl 2006-06-09 21:24:15 +10:00
lib [PATCH] remove powerpc bitops in favor of existing generic bitops 2006-05-24 16:08:58 +10:00
math-emu powerpc: move math-emu over to arch/powerpc 2006-03-27 23:43:27 -06:00
mm [PATCH] powerpc: Fix buglet with MMU hash management 2006-06-09 21:20:59 +10:00
oprofile [PATCH] powerpc: oprofile support for POWER6 2006-06-09 21:24:05 +10:00
platforms Merge branch 'merge' 2006-06-01 19:05:23 +10:00
sysdev [PATCH] powerpc: Lower threshold for DART enablement to 1GB 2006-04-21 22:29:37 +10:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig [PATCH] powerpc kbuild warning fix 2006-06-09 21:21:05 +10:00
Kconfig.debug [PATCH] powerpc: Make early debugging options behave with oldconfig 2006-05-19 14:35:23 +10:00
Makefile [PATCH] powerpc32: Set cpu explicitly in kernel compiles 2006-04-13 09:38:33 -07:00