Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
Pull sparc updates from David Miller: 1) Add a proper .exit.data section. 2) Fix ipc64_perm type definition, from Arnd Bergmann. 3) Support folded p4d page tables on sparc64, from Mike Rapport. 4) Remove uses of struct timex, also from Arnd Bergmann. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: y2038: sparc: remove use of struct timex sparc64: add support for folded p4d page tables sparc/console: kill off obsolete declarations sparc32: fix struct ipc64_perm type definition sparc32, leon: Stop adding vendor and device id to prom ambapp path components sparc: Add .exit.data section. sparc: remove unneeded uapi/asm/statfs.h
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
|
||||
extern struct kmem_cache *pgtable_cache;
|
||||
|
||||
static inline void __pgd_populate(pgd_t *pgd, pud_t *pud)
|
||||
static inline void __p4d_populate(p4d_t *p4d, pud_t *pud)
|
||||
{
|
||||
pgd_set(pgd, pud);
|
||||
p4d_set(p4d, pud);
|
||||
}
|
||||
|
||||
#define pgd_populate(MM, PGD, PUD) __pgd_populate(PGD, PUD)
|
||||
#define p4d_populate(MM, P4D, PUD) __p4d_populate(P4D, PUD)
|
||||
|
||||
static inline pgd_t *pgd_alloc(struct mm_struct *mm)
|
||||
{
|
||||
|
Reference in New Issue
Block a user