David Howells | 00d7671 | 2006-01-08 01:01:21 -0800 | [diff] [blame] | 1 | /* module.c: FRV specific module loading bits |
| 2 | * |
| 3 | * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * - Derived from arch/i386/kernel/module.c, Copyright (C) 2001 Rusty Russell. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License |
| 9 | * as published by the Free Software Foundation; either version |
| 10 | * 2 of the License, or (at your option) any later version. |
| 11 | */ |
| 12 | #include <linux/moduleloader.h> |
| 13 | #include <linux/elf.h> |
| 14 | #include <linux/vmalloc.h> |
| 15 | #include <linux/fs.h> |
| 16 | #include <linux/string.h> |
| 17 | #include <linux/kernel.h> |
| 18 | |
| 19 | #if 0 |
| 20 | #define DEBUGP printk |
| 21 | #else |
| 22 | #define DEBUGP(fmt...) |
| 23 | #endif |
| 24 | |
Jonas Bonn | 66574cc | 2011-06-30 21:22:12 +0200 | [diff] [blame] | 25 | /* TODO: At least one of apply_relocate or apply_relocate_add must be |
| 26 | * implemented in order to get working module support. |
| 27 | */ |