David Gibson c6404adebf pseries: Minor cleanups to HPT management hypercalls
* Standardize on 'ptex' instead of 'pte_index' for HPTE index variables
   for consistency and brevity
 * Avoid variables named 'index'; shadowing index(3) from libc can lead to
   surprising bugs if the variable is removed, because compiler errors
   might not appear for remaining references
 * Clarify index calculations in h_enter() - we have two cases, H_EXACT
   where the exact HPTE slot is given, and !H_EXACT where we search for
   an empty slot within the hash bucket.  Make the calculation more
   consistent between the cases.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
2017-03-01 11:23:39 +11:00
..
2017-02-28 09:03:39 +03:00
2016-10-04 13:28:07 +01:00
2017-01-27 18:08:00 +01:00
2017-02-28 09:03:38 +03:00
2017-02-28 16:22:41 +00:00
2017-01-31 10:10:13 +11:00
2017-01-20 11:15:06 +00:00
2017-02-02 16:08:28 +00:00
2017-02-06 12:33:21 +11:00
2017-01-27 18:07:59 +01:00
2017-02-24 10:37:21 +00:00
2017-02-02 18:48:06 +00:00
2017-02-24 10:13:57 +00:00
2017-02-28 12:08:16 +00:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2017-02-23 16:18:03 +01:00
2017-02-03 12:31:40 +00:00