aboutsummaryrefslogtreecommitdiffstats
path: root/linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-16 01:26:46 +0000
committerChris Larson <clarson@kergoth.com>2004-11-16 01:26:46 +0000
commit8cd816fb5a418e831cca69f12db67f600e3d9119 (patch)
treeda27a038f09bdeef35a431cda21751b4cd947998 /linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch
parentf35fca62c5e6f5cc92e80641e31860d1b5b02e8c (diff)
downloadopenembedded-8cd816fb5a418e831cca69f12db67f600e3d9119.tar.gz
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into handhelds.org:/home/kergoth/code/packages 2004/11/15 17:37:03-05:00 giantshoulder.com!g2 Change ROOTFS_SIZE to the smallest value (mod 128) that works 3840 2004/11/16 07:33:28+10:30 (none)!rwhitby Initial jffs2 support in unslung-image 2004/11/14 23:08:14+10:30 (none)!rwhitby Unslung switchbox now works somewhat 2004/11/13 20:02:57-08:00 (none)!jacques added linuxrc to URI and forced static build 2004/11/14 13:20:09+10:30 (none)!rwhitby Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages into home.(none):/home/openembedded/packages 2004/11/14 13:19:56+10:30 (none)!rwhitby Stripped more features from switchbox 2004/11/13 18:33:34-08:00 (none)!jacques added linuxrc and linuxrc install to switchbox (linuxrc is just a copy of the unslung-ramdisk one ATM) 2004/11/13 17:10:58-08:00 (none)!jacques initial very minimal switchbox bb config 2004/11/14 11:32:22+10:30 (none)!rwhitby Added switchbox - a minimal busybox for switching between root device options in /linuxrc on an NSLU2 device 2004/11/14 08:26:40+10:30 (none)!rwhitby Removed JFFS from unslung-able kernel - JFFS2 does not require it. 2004/11/13 22:40:16+10:30 (none)!rwhitby Added support for more flash partitions, and JFFS2 filesystems. 2004/11/12 00:28:05-08:00 bkbits.net!nslu2-linux.adm Merge bk://openembedded.bkbits.net/packages into bkbits.net:/repos/n/nslu2-linux/packages 2004/11/11 22:31:58+10:30 (none)!rwhitby Enabled CONFIG_MTD_REDBOOT_PARTS in unslung-able-kernel's defconfig 2004/11/11 00:42:41-08:00 bkbits.net!nslu2-linux.adm Merge bk://openembedded.bkbits.net/packages into bkbits.net:/repos/n/nslu2-linux/packages 2004/11/11 00:38:58+10:30 (none)!rwhitby Unslung: fixed slugbug#24 - If /.ext3flash exists, then /dev/sda1 is remounted with the noatime option between the running of quotacheck (which is what turns off the noatime option) and the running of quotaon. 2004/11/09 22:37:05+10:30 (none)!rwhitby Added ext3flash functionality to startup scripts, keyed on the existence of a /.ext3flash file. Also updated the README. 2004/11/08 22:40:38+10:30 (none)!rwhitby Enabled devfs in the Unslung-able kernel (but did not enable auto mounting) 2004/11/07 19:35:32-05:00 uottawa.ca!stephane Reverted SCL I2C pin to default of 6 after pushing my local change by accident. 2004/11/07 19:14:08-05:00 uottawa.ca!stephane Merge nslu2-linux@nslu2-linux.bkbits.net:packages into gauss.mathstat.uottawa.ca:/local/nslu2/openslug/packages 2004/11/07 18:11:11-05:00 uottawa.ca!stephane First stab at integrating kernel 2.6.9 into OE for NSLU2. 2004/11/07 09:16:24+10:30 (none)!rwhitby Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages into home.(none):/home/openembedded/packages 2004/11/07 09:15:34+10:30 (none)!rwhitby Bumped package and Unslung version, in preparation for Unslung public beta 2004/11/06 12:48:04-08:00 bkbits.net!nslu2-linux.adm Merge bk://openembedded.bkbits.net/packages into bkbits.net:/repos/n/nslu2-linux/packages 2004/11/06 23:24:13+10:30 (none)!rwhitby Now copied README to unslung disk 2004/11/06 22:32:31+10:30 (none)!rwhitby Unslung 2.11-beta release candidate 2004/11/06 22:05:40+10:30 (none)!rwhitby Removed ext3flash, ext1vfat2, and vfatdisk2 variants. The ext3flash-on-disk1 functionality has been added to the stock firmware, and the vfatdisk2 variant never worked properly anyway. 2004/11/06 16:07:27+10:30 (none)!rwhitby Added ext3flash-on-disk1.patch, and included it in all unslung kernels 2004/11/06 09:01:17+10:30 (none)!rwhitby Made unsling remove /bin/wget on upgraded unslung disks 2004/11/06 08:35:03+10:30 (none)!rwhitby Removed the ipkg info from the local feed (used in building the Unslung ramdisk) from the Unslung image. 2004/11/05 23:49:31+10:30 (none)!rwhitby Added ext1vfat2 variant 2004/11/05 16:11:01+10:30 (none)!rwhitby Made all unslung variants use the -standard variant as a base, instead of the pseudo -base variant. 2004/11/05 00:21:59+10:30 (none)!rwhitby Fixed the nslu2-linux-kernel kernel-suffix 2004/11/05 00:07:21+10:30 (none)!rwhitby Reverted linksys-kernel defconfig to original 2004/11/04 23:22:44+10:30 (none)!rwhitby Fixed the typo in unslung-image.oe 2004/11/04 23:17:52+10:30 (none)!rwhitby Renamed all unslung files to a more consistent naming scheme 2004/11/04 20:15:58+10:30 (none)!rwhitby Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages into home.(none):/home/openembedded/packages 2004/11/04 13:54:46+10:30 (none)!rwhitby Split nslu2-unslung-libs out of nslu2-unslung-ramdisk (and it's variants) so that we don't confuse the shlibs code. Also stopped the patcher dross being copied into the ramdisks. 2004/11/04 11:33:44+10:30 (none)!rwhitby Added RPROVIDES to Unslung ramdisk variants 2004/11/03 10:54:13-10:00 (none)!dereky unslung.conf: Added RAID kernel modules. 2004/11/04 01:37:37+10:30 (none)!rwhitby Moved the unslung-specific patches from the linksys directory to the unslung directory 2004/11/04 01:20:23+10:30 (none)!rwhitby Added UNSLUNG_{KERNEL,RAMDISK}_EXTRA_SRC_URI to unslung kernel and ramdisk 2004/11/04 00:16:05+10:30 (none)!rwhitby Added the limit1gb variant, and took that functionality out of the standard variant 2004/11/04 00:11:54+10:30 (none)!rwhitby Moved 1Gb limit stuff into a separate variant 2004/11/04 00:11:23+10:30 (none)!rwhitby Moved 1Gb limit stuff into a separate variant 2004/11/04 00:10:57+10:30 (none)!rwhitby Moved 1Gb limit stuff into a separate variant 2004/11/03 23:48:38+10:30 (none)!rwhitby Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages into home.(none):/home/openembedded/packages 2004/11/03 23:47:57+10:30 (none)!rwhitby Reorganisation of Unslung kernel variants 2004/11/03 21:21:44+11:00 black.lan!peteru Version up for libusb. 2004/11/03 16:58:02+11:00 black.lan!peteru Change order of include so that SRC_URI is not clobbered when building varianted ramdisk images. Move the mount of usbdevfs to a more suitable location. 2004/11/03 15:51:08+11:00 black.lan!peteru Ensure that the image contains ramdisk files from Linksys. 2004/11/03 13:36:38+10:30 (none)!rwhitby Added UNSLUNG_EXTRA_{DEPENDS,RDEPENDS,RRECOMMENDS} 2004/11/03 11:24:21+10:30 (none)!rwhitby Missed unslung-image-vfatdisk2 2004/11/03 11:20:26+10:30 (none)!rwhitby Fixed Unslung ramdisk FILESPATH 2004/11/03 10:57:38+11:00 black.lan!peteru Merge nslu2-linux@nslu2-linux.bkbits.net:packages into black.lan:/home/slug/bk/packages 2004/11/03 10:57:07+11:00 black.lan!peteru Updated with missing changes. 2004/11/02 17:37:54-06:00 handhelds.org!kergoth Merge nslu2-linux@nslu2-linux.bkbits.net:packages into handhelds.org:/home/kergoth/code/packages-nslu2 2004/11/03 10:11:25+10:30 (none)!rwhitby Fixed UNSLUNG-SUFFIX in the ramdisk variants 2004/11/02 17:37:35-06:00 handhelds.org!kergoth Make the CIA post-outgoing trigger obey a BK_SILENT variable, to supress notifications when doing syncs. 2004/11/03 10:36:21+11:00 black.lan!peteru Added missing changes to support variants. BKrev: 419957569UY_WhtfFG7t7k9gaKf8xQ
Diffstat (limited to 'linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch')
-rw-r--r--linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch140
1 files changed, 0 insertions, 140 deletions
diff --git a/linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch b/linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch
deleted file mode 100644
index bcf1c10335..0000000000
--- a/linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-diff -purN linux-2.4.24-uc0.orig/include/asm-arm/setup.h linux-2.4.24-uc0/include/asm-arm/setup.h
---- linux-2.4.24-uc0.orig/include/asm-arm/setup.h 2003-08-25 04:44:43.000000000 -0700
-+++ linux-2.4.24-uc0/include/asm-arm/setup.h 2004-09-09 04:36:03.000000000 -0700
-@@ -236,7 +236,7 @@ struct tagtable {
- int (*parse)(const struct tag *);
- };
-
--#define __tag __attribute__((unused, __section__(".taglist")))
-+#define __tag __attribute_used__ __attribute__((__section__(".taglist")))
- #define __tagtable(tag, fn) \
- static struct tagtable __tagtable_##fn __tag = { tag, fn }
-
-diff -purN linux-2.4.24-uc0.orig/include/linux/compiler.h linux-2.4.24-uc0/include/linux/compiler.h
---- linux-2.4.24-uc0.orig/include/linux/compiler.h 2004-03-31 21:52:49.000000000 -0800
-+++ linux-2.4.24-uc0/include/linux/compiler.h 2004-09-09 01:33:29.000000000 -0700
-@@ -13,4 +13,18 @@
- #define likely(x) __builtin_expect((x),1)
- #define unlikely(x) __builtin_expect((x),0)
-
-+#if __GNUC__ > 3
-+#define __attribute_used__ __attribute__((__used__))
-+#elif __GNUC__ == 3
-+#if __GNUC_MINOR__ >= 3
-+# define __attribute_used__ __attribute__((__used__))
-+#else
-+# define __attribute_used__ __attribute__((__unused__))
-+#endif /* __GNUC_MINOR__ >= 3 */
-+#elif __GNUC__ == 2
-+#define __attribute_used__ __attribute__((__unused__))
-+#else
-+#define __attribute_used__ /* not implemented */
-+#endif /* __GNUC__ */
-+
- #endif /* __LINUX_COMPILER_H */
-diff -purN linux-2.4.24-uc0.orig/include/linux/init.h linux-2.4.24-uc0/include/linux/init.h
---- linux-2.4.24-uc0.orig/include/linux/init.h 2004-03-31 21:52:50.000000000 -0800
-+++ linux-2.4.24-uc0/include/linux/init.h 2004-09-09 01:38:11.000000000 -0700
-@@ -2,6 +2,7 @@
- #define _LINUX_INIT_H
-
- #include <linux/config.h>
-+#include <linux/compiler.h>
-
- /* These macros are used to mark some functions or
- * initialized data (doesn't apply to uninitialized data)
-@@ -51,7 +52,7 @@ typedef void (*exitcall_t)(void);
- extern initcall_t __initcall_start, __initcall_end;
-
- #define __initcall(fn) \
-- static initcall_t __initcall_##fn __init_call = fn
-+ static initcall_t __initcall_##fn __attribute_used__ __init_call = fn
- #define __exitcall(fn) \
- static exitcall_t __exitcall_##fn __exit_call = fn
-
-@@ -67,7 +68,7 @@ extern struct kernel_param __setup_start
-
- #define __setup(str, fn) \
- static char __setup_str_##fn[] __initdata = str; \
-- static struct kernel_param __setup_##fn __attribute__((unused)) __initsetup = { __setup_str_##fn, fn }
-+ static struct kernel_param __setup_##fn __attribute_used__ __initsetup = { __setup_str_##fn, fn }
-
- #endif /* __ASSEMBLY__ */
-
-@@ -77,16 +78,16 @@ extern struct kernel_param __setup_start
- */
- #ifndef NO_TEXT_SECTIONS
- #define __init __attribute__ ((__section__ (".text.init")))
--#define __exit __attribute__ ((unused, __section__(".text.exit")))
-+#define __exit __attribute_used__ __attribute__ ((__section__(".text.exit")))
- #else
- #define __init
--#define __exit __attribute__ ((unused))
-+#define __exit __attribute_used__
- #endif
- #define __initdata __attribute__ ((__section__ (".data.init")))
--#define __exitdata __attribute__ ((unused, __section__ (".data.exit")))
--#define __initsetup __attribute__ ((unused,__section__ (".setup.init")))
--#define __init_call __attribute__ ((unused,__section__ (".initcall.init")))
--#define __exit_call __attribute__ ((unused,__section__ (".exitcall.exit")))
-+#define __exitdata __attribute_used__ __attribute__ ((__section__ (".data.exit")))
-+#define __initsetup __attribute_used__ __attribute__ ((__section__ (".setup.init")))
-+#define __init_call __attribute_used__ __attribute__ ((__section__ (".initcall.init")))
-+#define __exit_call __attribute_used__ __attribute__ ((__section__ (".exitcall.exit")))
-
- /* For assembly routines */
- #define __INIT .section ".text.init","ax"
-diff -purN linux-2.4.24-uc0.orig/include/linux/module.h linux-2.4.24-uc0/include/linux/module.h
---- linux-2.4.24-uc0.orig/include/linux/module.h 2002-08-02 17:39:45.000000000 -0700
-+++ linux-2.4.24-uc0/include/linux/module.h 2004-09-09 03:15:30.000000000 -0700
-@@ -8,6 +8,7 @@
- #define _LINUX_MODULE_H
-
- #include <linux/config.h>
-+#include <linux/compiler.h>
- #include <linux/spinlock.h>
- #include <linux/list.h>
-
-@@ -254,9 +255,9 @@ __attribute__((section(".modinfo"))) =
- */
- #define MODULE_GENERIC_TABLE(gtype,name) \
- static const unsigned long __module_##gtype##_size \
-- __attribute__ ((unused)) = sizeof(struct gtype##_id); \
-+ __attribute_used__ = sizeof(struct gtype##_id); \
- static const struct gtype##_id * __module_##gtype##_table \
-- __attribute__ ((unused)) = name
-+ __attribute_used__ = name
-
- /*
- * The following license idents are currently accepted as indicating free
-@@ -284,7 +285,7 @@ static const struct gtype##_id * __modul
- */
-
- #define MODULE_LICENSE(license) \
--static const char __module_license[] __attribute__((section(".modinfo"))) = \
-+static const char __module_license[] __attribute_used__ __attribute__((section(".modinfo"))) = \
- "license=" license
-
- /* Define the module variable, and usage macros. */
-@@ -296,10 +297,10 @@ extern struct module __this_module;
- #define MOD_IN_USE __MOD_IN_USE(THIS_MODULE)
-
- #include <linux/version.h>
--static const char __module_kernel_version[] __attribute__((section(".modinfo"))) =
-+static const char __module_kernel_version[] __attribute_used__ __attribute__((section(".modinfo"))) =
- "kernel_version=" UTS_RELEASE;
- #ifdef MODVERSIONS
--static const char __module_using_checksums[] __attribute__((section(".modinfo"))) =
-+static const char __module_using_checksums[] __attribute_used__ __attribute__((section(".modinfo"))) =
- "using_checksums=1";
- #endif
-
-@@ -319,7 +320,7 @@ static const char __module_using_checksu
- */
- #define MODULE_GENERIC_TABLE(gtype,name) \
- static const struct gtype##_id * __module_##gtype##_table \
-- __attribute__ ((unused, __section__(".data.exit"))) = name
-+ __attribute_used__ __attribute__ ((__section__(".data.exit"))) = name
-
- #ifndef __GENKSYMS__
-