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
..
2016-05-19 16:42:28 +02:00
2016-01-29 15:07:22 +00:00
2017-01-19 22:07:46 +01:00
2016-09-15 15:32:22 +03:00
2017-01-31 10:10:13 +11:00
2017-01-31 10:10:13 +11:00
2017-01-24 23:26:52 +03:00
2017-03-01 11:23:39 +11:00
2017-01-31 10:10:13 +11:00
2017-03-01 11:23:39 +11:00