diff options
author | Douglas Thompson <dougthompson@xmission.com> | 2007-07-19 04:50:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:56 -0400 |
commit | 7391c6dcab3094610cb99bbd559beaa282582eac (patch) | |
tree | 29ec05cc8abdb9be8311ea797b29c9c5b9a99aea /drivers/edac/edac_module.h | |
parent | 52490c8d07680a7ecc3c1a70a16841455d37e96a (diff) |
drivers/edac: mod edac_align_ptr function
Refactor the edac_align_ptr() function to reduce the noise of casting the
aligned pointer to the various types of data objects and modified its callers
to its new signature
Signed-off-by: Douglas Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac/edac_module.h')
-rw-r--r-- | drivers/edac/edac_module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h index 0869fbaa733c..37a08aa87d3e 100644 --- a/drivers/edac/edac_module.h +++ b/drivers/edac/edac_module.h | |||
@@ -44,6 +44,7 @@ extern void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, | |||
44 | extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); | 44 | extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); |
45 | extern void edac_device_reset_delay_period(struct edac_device_ctl_info | 45 | extern void edac_device_reset_delay_period(struct edac_device_ctl_info |
46 | *edac_dev, unsigned long value); | 46 | *edac_dev, unsigned long value); |
47 | extern void *edac_align_ptr(void *ptr, unsigned size); | ||
47 | 48 | ||
48 | /* | 49 | /* |
49 | * EDAC PCI functions | 50 | * EDAC PCI functions |