Merge tag '9p-for-4.20' of git://github.com/martinetd/linux
[sfrench/cifs-2.6.git] / arch / powerpc / include / asm / book3s / 64 / mmu.h
index 9c8c669a6b6a3e0dd52ad6f4e2de2c62a8965720..6328857f259f5b0abe0bf56fd88c4999d012cf80 100644 (file)
@@ -208,7 +208,7 @@ extern void radix_init_pseries(void);
 static inline void radix_init_pseries(void) { };
 #endif
 
-static inline int get_ea_context(mm_context_t *ctx, unsigned long ea)
+static inline int get_user_context(mm_context_t *ctx, unsigned long ea)
 {
        int index = ea >> MAX_EA_BITS_PER_CONTEXT;
 
@@ -223,7 +223,7 @@ static inline int get_ea_context(mm_context_t *ctx, unsigned long ea)
 static inline unsigned long get_user_vsid(mm_context_t *ctx,
                                          unsigned long ea, int ssize)
 {
-       unsigned long context = get_ea_context(ctx, ea);
+       unsigned long context = get_user_context(ctx, ea);
 
        return get_vsid(context, ea, ssize);
 }