diff options
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index e8ae2e54151c..332fcca30944 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -493,7 +493,7 @@ int __init smu_init (void) | |||
493 | goto fail_np; | 493 | goto fail_np; |
494 | } | 494 | } |
495 | 495 | ||
496 | smu = alloc_bootmem(sizeof(struct smu_device)); | 496 | smu = memblock_alloc(sizeof(struct smu_device), 0); |
497 | 497 | ||
498 | spin_lock_init(&smu->lock); | 498 | spin_lock_init(&smu->lock); |
499 | INIT_LIST_HEAD(&smu->cmd_list); | 499 | INIT_LIST_HEAD(&smu->cmd_list); |