login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
18
Re: [PATCH] ramdisk driver: make rd_size non-static
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Matt Mackall <mpm@...>
To: Andrew Morton <akpm@...>
Cc: Byron Bradley <byron.bbradley@...>, <linux-arm-kernel@...>, <linux-kernel@...>, Nick Piggin <npiggin@...>, Russell King <rmk@...>
Subject:
Re: [PATCH] ramdisk driver: make rd_size non-static
Date: Thursday, January 17, 2008 - 10:39 pm
On Thu, 2008-01-17 at 18:28 -0800, Andrew Morton wrote:
quoted text
> On Fri, 18 Jan 2008 02:02:17 +0000 Byron Bradley <byron.bbradley@gmail.com> wrote: > > > In arch/arm/kernel/setup.c:setup_ramdisk(), rd_size is set from the > > boot tags. The replacement ramdisk driver has rd_size as static > > which causes linking to fail when ramdisk is built-in. > > > > but... > > > diff --git a/drivers/block/brd.c b/drivers/block/brd.c > > index 5ef1d26..8536480 100644 > > --- a/drivers/block/brd.c > > +++ b/drivers/block/brd.c > > @@ -385,7 +385,7 @@ static struct block_device_operations brd_fops = { > > * And now the modules code and kernel interface. > > */ > > static int rd_nr; > > -static int rd_size = CONFIG_BLK_DEV_RAM_SIZE; > > +int rd_size = CONFIG_BLK_DEV_RAM_SIZE; > > module_param(rd_nr, int, 0); > > MODULE_PARM_DESC(rd_nr, "Maximum number of brd devices"); > > module_param(rd_size, int, 0); > > rd_size is a module parameter so it is settable via the > syntax-which-i-can-never-remember. rd.rd_size=1024 or something like that. > > If that's all sane, do we have some back-compat reason to continue to > support the special and duplicative rd_size parameter?
Only insofar as we're still supporting ramdisks in the first place. -- Mathematics is the supreme nostalgia of our time. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] ramdisk driver: make rd_size non-static
, Byron Bradley
, (Thu Jan 17, 10:02 pm)
Re: [PATCH] ramdisk driver: make rd_size non-static
, Andrew Morton
, (Thu Jan 17, 10:28 pm)
Re: [PATCH] ramdisk driver: make rd_size non-static
, Russell King - ARM Linux
, (Fri Jan 18, 3:28 pm)
Re: [PATCH] ramdisk driver: make rd_size non-static
, Matt Mackall
, (Thu Jan 17, 10:39 pm)
Re: [PATCH] ramdisk driver: make rd_size non-static
, Nick Piggin
, (Fri Jan 18, 7:29 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Nigel Cunningham
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan...
Steven Rostedt
[RFC PATCH 16/22 -v2] add get_monotonic_cycles
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Andrew Morton
Re: [BUG] New Kernel Bugs
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
712 guests
online.
Syndicate