|
@@ -309,6 +309,11 @@ static inline p4dval_t native_p4d_val(p4d_t p4d)
|
|
#else
|
|
#else
|
|
#include <asm-generic/pgtable-nop4d.h>
|
|
#include <asm-generic/pgtable-nop4d.h>
|
|
|
|
|
|
|
|
+static inline p4d_t native_make_p4d(pudval_t val)
|
|
|
|
+{
|
|
|
|
+ return (p4d_t) { .pgd = native_make_pgd((pgdval_t)val) };
|
|
|
|
+}
|
|
|
|
+
|
|
static inline p4dval_t native_p4d_val(p4d_t p4d)
|
|
static inline p4dval_t native_p4d_val(p4d_t p4d)
|
|
{
|
|
{
|
|
return native_pgd_val(p4d.pgd);
|
|
return native_pgd_val(p4d.pgd);
|