diff options
author | Helge Deller <deller@gmx.de> | 2009-01-18 19:30:18 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-03-31 02:51:33 +0000 |
commit | 1152a68c4226ce48c95241b6ffc543850b4b3a97 (patch) | |
tree | 0686acc6fdc3aa49206732a9119789741c835cb0 /arch/h8300 | |
parent | 48d27cb2299c0b2fc4d551bddb6a1005828dc0c6 (diff) | |
download | op-kernel-dev-1152a68c4226ce48c95241b6ffc543850b4b3a97.zip op-kernel-dev-1152a68c4226ce48c95241b6ffc543850b4b3a97.tar.gz |
parisc: use constants instead of numbers in assembly
A few small fixups:
* _PAGE_SIZE_ENCODING_DEFAULT is wrong here, as one might assume that
it's possible to define the page size that way. This is wrong. Use 0 instead.
* use constants instead of hardcoded numerical values in depi and extru
while building the PFN out of the pte entry
* use SHRREG instead of extru (iitlba expects the PFN at bits {7..26})
Still wondering why we can use the same register (pte) as extru source
and target register, but it seems to work on PA1.1 and PA2.0...
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions