Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bitutils: Add PPC_BITMASK8 | Benjamin Herrenschmidt | 2016-07-06 | 1 | -0/+1 |
| | | | | | | Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> | ||||
* | include/bitutils.h: Add macros for 16-bit constants | Alistair Popple | 2015-10-26 | 1 | -0/+3 |
| | | | | | Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> | ||||
* | simplify GET/SETFIELD() use, add MASK_TO_LSH() | Dan Streetman | 2015-02-19 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | Currently, the GETFIELD() and SETFIELD() macros require the user to define both the _MASK and the _LSH of the field. However, the shift of the field is trivially determinable and there is no reason it needs to be specified by the user. Add MASK_TO_LSH() macro, which determines the shift of a given mask. Change GETFIELD() and SETFIELD() to use MASK_TO_LSH() to determine the shift of the specified mask, instead of requiring it to be specified by the user. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> | ||||
* | Initial commit of Open Source release | Benjamin Herrenschmidt | 2014-07-02 | 1 | -0/+50 |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |