summaryrefslogtreecommitdiff
path: root/screen.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-24ifpps, flowtop: Move ncurses init and end to common moduleTobias Klauser1-0/+9
ncurses (de-)initialization is duplicated across flowtop and ifpps, so move it to an own module and use it from both tools. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
href='/cgit.cgi/linux/net-next.git/commit/?id=8550e2fa34f077c8a87cf1ba2453102bbbc9ade9'>8550e2fa34f077c8a87cf1ba2453102bbbc9ade9 (patch) treece444d73a73f96b8d1332b25b12af770e3ada2f5 parenta145abf12c9f7d30d8c330c9d8a97428cbf0589b (diff)
powerpc/mm/hash: Use the correct PPP mask when updating HPTE
With commit e58e87adc8bf9 "powerpc/mm: Update _PAGE_KERNEL_RO" we now use all the three PPP bits. The top bit is now used to have a PPP value of 0b110 which will be mapped to kernel read only. When updating the hpte entry use right mask such that we update the 63rd bit (top 'P' bit) too. Prior to e58e87adc8bf we didn't support KERNEL_RO at all (it was == KERNEL_RW), so this isn't a regression as such. Fixes: e58e87adc8bf ("powerpc/mm: Update _PAGE_KERNEL_RO") Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat