x86/mm/pat: Harmonize 'struct memtype *' local variable and function parameter use
authorIngo Molnar <mingo@kernel.org>
Tue, 10 Dec 2019 09:07:23 +0000 (10:07 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Dec 2019 09:12:55 +0000 (10:12 +0100)
commitbaf65855baac302bbacf0ce17ed99b9c0940b930
tree3bb775b42e3c522953af3c87bc4e0b845b1b0ff0
parent47553d42c55f7b85e72ce6f3a18030102f8f93a3
x86/mm/pat: Harmonize 'struct memtype *' local variable and function parameter use

We have quite a zoo of 'struct memtype' variable nomenclature:

  new
  entry
  print_entry
  data
  match
  out
  memtype

Beyond the randomness, some of these are outright confusing, especially
when used in larger functions.

Standardize them:

  entry
  entry_new
  entry_old
  entry_print
  entry_match
  entry_out

Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/pat.c
arch/x86/mm/pat_internal.h
arch/x86/mm/pat_interval.c