]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
m68k: Dispatch nvram_ops calls to Atari or Mac functions
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 15 Jan 2019 04:18:56 +0000 (15:18 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 09:21:45 +0000 (10:21 +0100)
commitd3b41b6bb49ecbf74b6bda63e00bf17fdb4d3c47
treea5b0f31d8348dbce9b22a014f0b3a1028f9e362c
parent458c77f3de0edc8a2df1f54ac641823ccbd3ff56
m68k: Dispatch nvram_ops calls to Atari or Mac functions

A multi-platform kernel binary has to decide at run-time how to dispatch
the arch_nvram_ops calls. Add a platform-independent arch_nvram_ops
struct for this, to replace the atari-specific one.

Enable CONFIG_HAVE_ARCH_NVRAM_OPS for Macs.

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/m68k/Kconfig.machine
arch/m68k/atari/nvram.c
arch/m68k/include/asm/atarihw.h
arch/m68k/include/asm/macintosh.h
arch/m68k/kernel/setup_mm.c
arch/m68k/mac/misc.c