diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2004-06-24 02:40:38 +0100 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-06-24 02:40:38 +0100 |
| commit | 54567d5db749f7c3e646a4882d3f97a2ee77b692 (patch) | |
| tree | 46e760c71ec8418294813f636e8699c5f4bc1cac | |
| parent | 9a399b0b64d50ff94c40019abc849df11c4de168 (diff) | |
[ARM] Fix acornfb build error.
| -rw-r--r-- | drivers/video/acornfb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/acornfb.c b/drivers/video/acornfb.c index d91a2f8ddb39..0c3aa4a7f796 100644 --- a/drivers/video/acornfb.c +++ b/drivers/video/acornfb.c @@ -1246,6 +1246,8 @@ acornfb_detect_monitortype(void) /* * This enables the unused memory to be freed on older Acorn machines. + * We are freeing memory on behalf of the architecture initialisation + * code here. */ static inline void free_unused_pages(unsigned int virtual_start, unsigned int virtual_end) @@ -1268,7 +1270,7 @@ free_unused_pages(unsigned int virtual_start, unsigned int virtual_end) */ page = virt_to_page(virtual_start); ClearPageReserved(page); - atomic_set(&page->count, 1); + set_page_count(page, 1); free_page(virtual_start); virtual_start += PAGE_SIZE; |
