Skip to contentSkip to conversation

parisc: Changes to ref refs/heads/master

git Kyle McMartin 1 participant 1 message Dec 22, 2008

lore
Share & tools
lore
#0 lore raw

New commits:
commit 5939320fddfc4c6ada0550c4b20f6e81191c64b9

Author: Kyle McMartin <[email protected]>
Date:   Mon Dec 22 12:29:02 2008 -0500

parisc: factor out sid to protid conversion

Create a new __space_to_prot inline to convert the space id (mmu context) to a protection id. Sadly it doesn't look like the #ifdef can be eliminated since relying on the compiler to not truncate a bit on
return (ctx >> SPACEID_SHIFT) << 1;
seems a little dodgy.