diff options
| author | Russell King <[email protected]> | 2015-04-04 22:22:07 +0000 |
|---|---|---|
| committer | Russell King <[email protected]> | 2015-04-10 09:52:41 +0000 |
| commit | 6c5c2a01fcfdb70f2e95e30e96ccf53b88e81023 (patch) | |
| tree | 43270eb85618290754b284806a66ff1bbb6d0223 /net/unix/af_unix.c | |
| parent | ARM: vexpress: fix CPU hotplug with CT9x4 tile. (diff) | |
| download | kernel-6c5c2a01fcfdb70f2e95e30e96ccf53b88e81023.tar.gz kernel-6c5c2a01fcfdb70f2e95e30e96ccf53b88e81023.zip | |
ARM: proc-arm94*.S: fix setup function
Both ARM946 and ARM940 setup functions were corrupting r1 and r2,
which is not permissible - these are used to carry the machine ID
and boot data into the kernel, and must be preserved.
The code responsible for this was the same in both files: they were
using the registers to generate a protection region register value.
Fix this by turning this process into a macro, and using that macro
in both these files with an alternative register allocation. r0,
r3 and r7 can be used for temporary values here.
Reported-by: Alex Dumitrache <[email protected]>
Tested-by: Georg Hofstetter <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
