Commit 50569687 authored by Linus Torvalds's avatar Linus Torvalds

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
parents a4a26e8e f0b99a64
...@@ -94,7 +94,6 @@ void __init paging_init(void) ...@@ -94,7 +94,6 @@ void __init paging_init(void)
high_memory = (void *) end_mem; high_memory = (void *) end_mem;
empty_zero_page = alloc_bootmem_pages(PAGE_SIZE); empty_zero_page = alloc_bootmem_pages(PAGE_SIZE);
memset(empty_zero_page, 0, PAGE_SIZE);
/* /*
* Set up SFC/DFC registers (user data space). * Set up SFC/DFC registers (user data space).
......
...@@ -920,14 +920,10 @@ void __init nubus_probe_slot(int slot) ...@@ -920,14 +920,10 @@ void __init nubus_probe_slot(int slot)
rp = nubus_rom_addr(slot); rp = nubus_rom_addr(slot);
for(i = 4; i; i--) for(i = 4; i; i--)
{ {
unsigned long flags;
int card_present; int card_present;
rp--; rp--;
local_irq_save(flags);
card_present = hwreg_present(rp); card_present = hwreg_present(rp);
local_irq_restore(flags);
if (!card_present) if (!card_present)
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment