mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
binfmt_flat: remove flat_old_ram_flag
Instead add a Kconfig variable that only h8300 selects. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
This commit is contained in:
committed by
Greg Ungerer
parent
02da283302
commit
1d52dca117
@@ -488,7 +488,8 @@ static int load_flat_file(struct linux_binprm *bprm,
|
||||
* fix up the flags for the older format, there were all kinds
|
||||
* of endian hacks, this only works for the simple cases
|
||||
*/
|
||||
if (rev == OLD_FLAT_VERSION && flat_old_ram_flag(flags))
|
||||
if (rev == OLD_FLAT_VERSION &&
|
||||
(flags || IS_ENABLED(CONFIG_BINFMT_FLAT_OLD_ALWAYS_RAM)))
|
||||
flags = FLAT_FLAG_RAM;
|
||||
|
||||
#ifndef CONFIG_BINFMT_ZFLAT
|
||||
|
Reference in New Issue
Block a user