mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
[XTENSA] Fix argument list for pgd_ctor constructor.
The argument list for ctor function element in the kmem_cache structure has changed. Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:
parent
b26d0ab0e6
commit
49883224f6
@ -309,7 +309,7 @@ void show_mem(void)
|
|||||||
|
|
||||||
struct kmem_cache *pgtable_cache __read_mostly;
|
struct kmem_cache *pgtable_cache __read_mostly;
|
||||||
|
|
||||||
static void pgd_ctor(void *addr, struct kmem_cache *cache, unsigned long flags)
|
static void pgd_ctor(struct kmem_cache *cache, void* addr)
|
||||||
{
|
{
|
||||||
pte_t* ptep = (pte_t*)addr;
|
pte_t* ptep = (pte_t*)addr;
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user