Patch "MIPS: CDMM: Add builtin_mips_cdmm_driver() macro" has been added to the 4.2-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
MIPS: CDMM: Add builtin_mips_cdmm_driver() macro
to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mips-cdmm-add-builtin_mips_cdmm_driver-macro.patch
and it can be found in the queue-4.2 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
1b4a5ddb127caf125e14551ebd334be1acf21805Mon Sep 17 00:00:00 2001
From: James Hogan <[email protected]>
Date: Tue, 6 Oct 2015 15:12:05 +0100
Subject: MIPS: CDMM: Add builtin_mips_cdmm_driver() macro
From: James Hogan <[email protected]>
commit 1b4a5ddb127caf125e14551ebd334be1acf21805 upstream.
Add helper macro builtin_mips_cdmm_driver() for builtin CDMM drivers that don't do anything special in init and have no exit. The module_mips_cdmm_driver() helper isn't really appropriate for drivers that can't be built as a module.
Patchwork: http://patchwork.linux-mips.org/patch/11264/
--- arch/mips/include/asm/cdmm.h | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/mips/include/asm/cdmm.h +11 -0
@@ -84,6 +84,17 @@ void mips_cdmm_driver_unregister(structmodule_driver (__mips_cdmm_driver, mips_cdmm_driver_register, \ mips_cdmm_driver_unregister) +/* +* builtin_mips_cdmm_driver() - Helper macro for drivers that don't do anything +* special in init and have no exit. This eliminates some boilerplate. Each +* driver may only use this macro once, and calling it replaces device_initcall +* (or in some cases, the legacy __initcall). This is meant to be a direct +* parallel of module_mips_cdmm_driver() above but without the __exit stuff that +* is not used for builtin cases. + */ +#define builtin_mips_cdmm_driver (__mips_cdmm_driver) \ + builtin_driver(__mips_cdmm_driver, mips_cdmm_driver_register) +/* drivers/tty/mips_ejtag_fdc.c */ #ifdef CONFIG_MIPS_EJTAG_FDC_EARLYCON
Patches currently in stable-queue which might be from [email protected] are
queue-4.2/mips-kvm-fix-cache-immediate-offset-sign-extension.patch queue-4.2/mips-kvm-fix-asid-restoration-logic.patch queue-4.2/mips-cdmm-add-builtin_mips_cdmm_driver-macro.patch queue-4.2/mips-kvm-uninit-vcpu-in-vcpu_create-error-path.patch