mirror of https://gitee.com/openkylin/linux.git
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
Pull m68k updates from Geert Uytterhoeven. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: m68k/mm: Eliminate memset after alloc_bootmem_pages nubus: Remove superfluous interrupt disable/restore
This commit is contained in:
commit
50569687e9
|
@ -94,7 +94,6 @@ void __init paging_init(void)
|
|||
high_memory = (void *) end_mem;
|
||||
|
||||
empty_zero_page = alloc_bootmem_pages(PAGE_SIZE);
|
||||
memset(empty_zero_page, 0, PAGE_SIZE);
|
||||
|
||||
/*
|
||||
* Set up SFC/DFC registers (user data space).
|
||||
|
|
|
@ -920,14 +920,10 @@ void __init nubus_probe_slot(int slot)
|
|||
rp = nubus_rom_addr(slot);
|
||||
for(i = 4; i; i--)
|
||||
{
|
||||
unsigned long flags;
|
||||
int card_present;
|
||||
|
||||
rp--;
|
||||
local_irq_save(flags);
|
||||
card_present = hwreg_present(rp);
|
||||
local_irq_restore(flags);
|
||||
|
||||
if (!card_present)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue