aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-12-09 16:04:59 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-09 16:04:59 -0500
commit50569687e9c688a8688982805be6d8e3c8879042 (patch)
treebd01cba8f9ba9f260650b42e958af36a1089ad42
parenta4a26e8e924a8e2412b63276c1a23cc127997a73 (diff)
parentf0b99a643e9613beb28af43333bbfa90d4bf85cc (diff)
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
-rw-r--r--arch/m68k/mm/init.c1
-rw-r--r--drivers/nubus/nubus.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c
index acaff6a49e35..b09a3cb29b68 100644
--- a/arch/m68k/mm/init.c
+++ b/arch/m68k/mm/init.c
@@ -94,7 +94,6 @@ void __init paging_init(void)
94 high_memory = (void *) end_mem; 94 high_memory = (void *) end_mem;
95 95
96 empty_zero_page = alloc_bootmem_pages(PAGE_SIZE); 96 empty_zero_page = alloc_bootmem_pages(PAGE_SIZE);
97 memset(empty_zero_page, 0, PAGE_SIZE);
98 97
99 /* 98 /*
100 * Set up SFC/DFC registers (user data space). 99 * Set up SFC/DFC registers (user data space).
diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c
index 5066a7ef7b6c..3319cf19deeb 100644
--- a/drivers/nubus/nubus.c
+++ b/drivers/nubus/nubus.c
@@ -920,14 +920,10 @@ void __init nubus_probe_slot(int slot)
920 rp = nubus_rom_addr(slot); 920 rp = nubus_rom_addr(slot);
921 for(i = 4; i; i--) 921 for(i = 4; i; i--)
922 { 922 {
923 unsigned long flags;
924 int card_present; 923 int card_present;
925 924
926 rp--; 925 rp--;
927 local_irq_save(flags);
928 card_present = hwreg_present(rp); 926 card_present = hwreg_present(rp);
929 local_irq_restore(flags);
930
931 if (!card_present) 927 if (!card_present)
932 continue; 928 continue;
933 929