Skip to contentSkip to conversation

ppc64: Fix spelling error in callback name

PATCH New Benjamin Herrenschmidt 1 participant 1 message Sep 27, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc64: Fix spelling error in callback name

Hi !

A small spelling error slipped into a new ppc_md. platform call I added in my last patch. Not very problematic but worth fixing before any code using the new call gets pushed.

===== include/asm-ppc64/machdep.h 1.32 vs edited =====

include/asm-ppc64/machdep.h +1 -1
@@ -58,7 +58,7 @@
 					    int local);
 	/* special for kexec, to be called in real mode, linar mapping is
 	 * destroyed as well */
-	void		(*htpe_clear_all)(void);
+	void		(*hpte_clear_all)(void);
 
 	void		(*tce_build)(struct iommu_table * tbl,
 				     long index,

===== arch/ppc64/kernel/pSeries_lpar.c 1.41 vs edited =====

arch/ppc64/kernel/pSeries_lpar.c +1 -1
@@ -439,7 +439,7 @@
 	ppc_md.hpte_insert	= pSeries_lpar_hpte_insert;
 	ppc_md.hpte_remove	= pSeries_lpar_hpte_remove;
 	ppc_md.flush_hash_range	= pSeries_lpar_flush_hash_range;
-	ppc_md.htpe_clear_all   = pSeries_lpar_hptab_clear;
+	ppc_md.hpte_clear_all   = pSeries_lpar_hptab_clear;
 
 	htab_finish_init();
 }