diff options
author | NeilBrown <neilb@suse.de> | 2013-09-10 01:48:06 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-09-10 01:48:06 +0200 |
commit | 1c0aebc2bec4d8e7e575c4222600826de3f1b73e (patch) | |
tree | 360da02b6e65739a25e539e9e2259ac00642a657 /probe_roms.c | |
parent | DDF: handle fake RAIDs with changing subarray UUIDs (diff) | |
download | mdadm-1c0aebc2bec4d8e7e575c4222600826de3f1b73e.tar.xz mdadm-1c0aebc2bec4d8e7e575c4222600826de3f1b73e.zip |
Move ARRAY_SIZE macro to common include file.
That was super-ddf can use it.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'probe_roms.c')
-rw-r--r-- | probe_roms.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/probe_roms.c b/probe_roms.c index 61297959..b0b08833 100644 --- a/probe_roms.c +++ b/probe_roms.c @@ -35,8 +35,6 @@ static const int rom_len = 0xf0000 - 0xc0000; /* option-rom memory region */ static int _sigbus; static unsigned long rom_align; -#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) - static void sigbus(int sig) { _sigbus = 1; |