File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,5 @@ void machine_shutdown(void);
25
25
void machine_halt (void );
26
26
void machine_power_off (void );
27
27
28
- extern void * zalloc_maybe_bootmem (size_t size , gfp_t mask );
29
-
30
28
# endif /* __ASSEMBLY__ */
31
29
#endif /* _ASM_MICROBLAZE_SETUP_H */
Original file line number Diff line number Diff line change @@ -270,22 +270,6 @@ asmlinkage void __init mmu_init(void)
270
270
memblock_dump_all ();
271
271
}
272
272
273
- void * __ref zalloc_maybe_bootmem (size_t size , gfp_t mask )
274
- {
275
- void * p ;
276
-
277
- if (mem_init_done ) {
278
- p = kzalloc (size , mask );
279
- } else {
280
- p = memblock_alloc (size , SMP_CACHE_BYTES );
281
- if (!p )
282
- panic ("%s: Failed to allocate %zu bytes\n" ,
283
- __func__ , size );
284
- }
285
-
286
- return p ;
287
- }
288
-
289
273
static const pgprot_t protection_map [16 ] = {
290
274
[VM_NONE ] = PAGE_NONE ,
291
275
[VM_READ ] = PAGE_READONLY_X ,
You can’t perform that action at this time.
0 commit comments