diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-20 12:24:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-20 12:24:31 -0500 |
commit | 8cf7a16ee949204e71127fd7270d1b5ce5577005 (patch) | |
tree | a9cf874c3f327290dcd400e6b527af94fe3bdc38 /drivers/block | |
parent | f479c01c8e81096e01eb20cec67dbaebae669aee (diff) | |
parent | 56931d73697c99ecf7aba6ae86c94d3a2d15d596 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
Pull m68k updates from Geert Uytterhoeven:
- Zorro bus cleanups and UAPI revival
- Bootinfo cleanups and UAPI revival
- Kexec support
- Memory size reductions and bug fixes for multi-platform kernels
- Polled interrupt support for Atari EtherNAT, EtherNEC and NetUSBee
- Machine-specific random_get_entropy()
- Defconfig updates and cleanups
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (46 commits)
m68k/mac: Make SCC reset work more reliably
m68k/irq - Use polled IRQ flag for MFP timer cascaded interrupts
m68k: Update defconfigs for v3.13-rc1
m68k/defconfig: Enable EARLY_PRINTK
m68k/mm: kmap spelling/grammar fixes
m68k: Convert arch/m68k/kernel/traps.c to pr_*()
m68k: Convert arch/m68k/mm/fault.c to pr_*()
m68k/mm: Check for mm != NULL in do_page_fault() debug code
m68k/defconfig: Disable /sbin/hotplug fork-bomb by default
m68k/atari: Hide RTC_PORT() macro from rtc-cmos
m68k/amiga,atari: Fix specifying multiple debug= parameters
m68k/defconfig: Use ext4 for ext2/ext3 file systems
m68k: Add support to export bootinfo in procfs
m68k: Add kexec support
m68k/mac: Mark Mac IIsi ADB driver BROKEN
m68k/amiga: Provide mach_random_get_entropy()
m68k: Add infrastructure for machine-specific random_get_entropy()
m68k/atari: Call paging_init() before nf_init()
m68k: Remove superfluous inclusions of <asm/bootinfo.h>
m68k/UAPI: Use proper types (endianness/size) in <asm/bootinfo*.h>
...
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/z2ram.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/block/z2ram.c b/drivers/block/z2ram.c index 5a95baf4b104..27de5046708a 100644 --- a/drivers/block/z2ram.c +++ b/drivers/block/z2ram.c | |||
@@ -43,9 +43,6 @@ | |||
43 | #include <linux/zorro.h> | 43 | #include <linux/zorro.h> |
44 | 44 | ||
45 | 45 | ||
46 | extern int m68k_realnum_memory; | ||
47 | extern struct mem_info m68k_memory[NUM_MEMINFO]; | ||
48 | |||
49 | #define Z2MINOR_COMBINED (0) | 46 | #define Z2MINOR_COMBINED (0) |
50 | #define Z2MINOR_Z2ONLY (1) | 47 | #define Z2MINOR_Z2ONLY (1) |
51 | #define Z2MINOR_CHIPONLY (2) | 48 | #define Z2MINOR_CHIPONLY (2) |
@@ -116,8 +113,8 @@ get_z2ram( void ) | |||
116 | if ( test_bit( i, zorro_unused_z2ram ) ) | 113 | if ( test_bit( i, zorro_unused_z2ram ) ) |
117 | { | 114 | { |
118 | z2_count++; | 115 | z2_count++; |
119 | z2ram_map[ z2ram_size++ ] = | 116 | z2ram_map[z2ram_size++] = (unsigned long)ZTWO_VADDR(Z2RAM_START) + |
120 | ZTWO_VADDR( Z2RAM_START ) + ( i << Z2RAM_CHUNKSHIFT ); | 117 | (i << Z2RAM_CHUNKSHIFT); |
121 | clear_bit( i, zorro_unused_z2ram ); | 118 | clear_bit( i, zorro_unused_z2ram ); |
122 | } | 119 | } |
123 | } | 120 | } |