diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2011-04-20 13:12:42 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2011-04-20 13:12:42 (GMT) |
commit | a9697885d7d80894c454cfbe69adbcba1088c84b (patch) | |
tree | 22b8e456f48efe50b595f03ddcd5809e77981ca5 /uClinux-2.4.20-uc1/include/asm-armnommu/setup.h | |
parent | e6641efc1c9443f1698d1f1e3770cbf5de67dcb9 (diff) | |
download | openipcam-a9697885d7d80894c454cfbe69adbcba1088c84b.zip openipcam-a9697885d7d80894c454cfbe69adbcba1088c84b.tar.gz openipcam-a9697885d7d80894c454cfbe69adbcba1088c84b.tar.bz2 |
gcc_3.3.4 support
Diffstat (limited to '')
-rw-r--r-- | uClinux-2.4.20-uc1/include/asm-armnommu/setup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/uClinux-2.4.20-uc1/include/asm-armnommu/setup.h b/uClinux-2.4.20-uc1/include/asm-armnommu/setup.h index 2175d45..a13545d 100644 --- a/uClinux-2.4.20-uc1/include/asm-armnommu/setup.h +++ b/uClinux-2.4.20-uc1/include/asm-armnommu/setup.h @@ -215,6 +215,9 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn } #define tag_next(t) ((struct tag *)((u32 *)(t) + (t)->hdr.size)) #define tag_size(type) ((sizeof(struct tag_header) + sizeof(struct type)) >> 2) +#define for_each_tag(t,base) \ + for (t = base; t->hdr.size; t = tag_next(t)) + /* * Memory map description */ |