commit | 4b3fc37788fe5a9c6ec0c43863c78604db40cbb3 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jun 27 08:55:16 2016 +0200 |
committer | David Gibson <david@gibson.dropbear.id.au> | Fri Jul 01 09:57:01 2016 +1000 |
tree | f612f35914591efd60e648171aaa98a18194ec0c | |
parent | 88536935c00311781addc980b0be8fe74f9f5706 [diff] |
ppc: Use a helper to filter writes to LPCR This handles filtering bits based on what is implemented by a given architecture version. We also use it to copy to LPCR some of the relevant 970 HID4 bits. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [clg: fixed checkpatch.pl errors ] Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>