diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-28 02:44:08 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-31 16:35:27 -0400 |
commit | 3266c6a988a2d18ffe91fe7fd56d0d6cc13c341e (patch) | |
tree | 6e50a08bf5ea44d8f1f5c62be3509a9db6f8344b /arch/mips/arc | |
parent | e119d49ab51385d8163246db8cce74a46cd3b863 (diff) |
[MIPS] ARC: Fix modpost warnings.
WARNING: vmlinux.o(.text+0x1608): Section mismatch: reference to .init.text:ArcRead (between 'indy_8254timer_irq' and 'indy_rtc_set_time')
WARNING: vmlinux.o(.text+0x1157ac): Section mismatch: reference to .init.text:ArcRead (between 'prom_getchar' and 'prom_putchar')
WARNING: vmlinux.o(.text+0x115808): Section mismatch: reference to .init.text:ArcWrite (between 'prom_putchar' and 'csum_partial')
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/arc')
-rw-r--r-- | arch/mips/arc/file.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/mips/arc/file.c b/arch/mips/arc/file.c index a43425b3c838..cb0127cf5bc1 100644 --- a/arch/mips/arc/file.c +++ b/arch/mips/arc/file.c | |||
@@ -13,63 +13,63 @@ | |||
13 | #include <asm/arc/types.h> | 13 | #include <asm/arc/types.h> |
14 | #include <asm/sgialib.h> | 14 | #include <asm/sgialib.h> |
15 | 15 | ||
16 | LONG __init | 16 | LONG |
17 | ArcGetDirectoryEntry(ULONG FileID, struct linux_vdirent *Buffer, | 17 | ArcGetDirectoryEntry(ULONG FileID, struct linux_vdirent *Buffer, |
18 | ULONG N, ULONG *Count) | 18 | ULONG N, ULONG *Count) |
19 | { | 19 | { |
20 | return ARC_CALL4(get_vdirent, FileID, Buffer, N, Count); | 20 | return ARC_CALL4(get_vdirent, FileID, Buffer, N, Count); |
21 | } | 21 | } |
22 | 22 | ||
23 | LONG __init | 23 | LONG |
24 | ArcOpen(CHAR *Path, enum linux_omode OpenMode, ULONG *FileID) | 24 | ArcOpen(CHAR *Path, enum linux_omode OpenMode, ULONG *FileID) |
25 | { | 25 | { |
26 | return ARC_CALL3(open, Path, OpenMode, FileID); | 26 | return ARC_CALL3(open, Path, OpenMode, FileID); |
27 | } | 27 | } |
28 | 28 | ||
29 | LONG __init | 29 | LONG |
30 | ArcClose(ULONG FileID) | 30 | ArcClose(ULONG FileID) |
31 | { | 31 | { |
32 | return ARC_CALL1(close, FileID); | 32 | return ARC_CALL1(close, FileID); |
33 | } | 33 | } |
34 | 34 | ||
35 | LONG __init | 35 | LONG |
36 | ArcRead(ULONG FileID, VOID *Buffer, ULONG N, ULONG *Count) | 36 | ArcRead(ULONG FileID, VOID *Buffer, ULONG N, ULONG *Count) |
37 | { | 37 | { |
38 | return ARC_CALL4(read, FileID, Buffer, N, Count); | 38 | return ARC_CALL4(read, FileID, Buffer, N, Count); |
39 | } | 39 | } |
40 | 40 | ||
41 | LONG __init | 41 | LONG |
42 | ArcGetReadStatus(ULONG FileID) | 42 | ArcGetReadStatus(ULONG FileID) |
43 | { | 43 | { |
44 | return ARC_CALL1(get_rstatus, FileID); | 44 | return ARC_CALL1(get_rstatus, FileID); |
45 | } | 45 | } |
46 | 46 | ||
47 | LONG __init | 47 | LONG |
48 | ArcWrite(ULONG FileID, PVOID Buffer, ULONG N, PULONG Count) | 48 | ArcWrite(ULONG FileID, PVOID Buffer, ULONG N, PULONG Count) |
49 | { | 49 | { |
50 | return ARC_CALL4(write, FileID, Buffer, N, Count); | 50 | return ARC_CALL4(write, FileID, Buffer, N, Count); |
51 | } | 51 | } |
52 | 52 | ||
53 | LONG __init | 53 | LONG |
54 | ArcSeek(ULONG FileID, struct linux_bigint *Position, enum linux_seekmode SeekMode) | 54 | ArcSeek(ULONG FileID, struct linux_bigint *Position, enum linux_seekmode SeekMode) |
55 | { | 55 | { |
56 | return ARC_CALL3(seek, FileID, Position, SeekMode); | 56 | return ARC_CALL3(seek, FileID, Position, SeekMode); |
57 | } | 57 | } |
58 | 58 | ||
59 | LONG __init | 59 | LONG |
60 | ArcMount(char *name, enum linux_mountops op) | 60 | ArcMount(char *name, enum linux_mountops op) |
61 | { | 61 | { |
62 | return ARC_CALL2(mount, name, op); | 62 | return ARC_CALL2(mount, name, op); |
63 | } | 63 | } |
64 | 64 | ||
65 | LONG __init | 65 | LONG |
66 | ArcGetFileInformation(ULONG FileID, struct linux_finfo *Information) | 66 | ArcGetFileInformation(ULONG FileID, struct linux_finfo *Information) |
67 | { | 67 | { |
68 | return ARC_CALL2(get_finfo, FileID, Information); | 68 | return ARC_CALL2(get_finfo, FileID, Information); |
69 | } | 69 | } |
70 | 70 | ||
71 | LONG __init ArcSetFileInformation(ULONG FileID, ULONG AttributeFlags, | 71 | LONG ArcSetFileInformation(ULONG FileID, ULONG AttributeFlags, |
72 | ULONG AttributeMask) | 72 | ULONG AttributeMask) |
73 | { | 73 | { |
74 | return ARC_CALL3(set_finfo, FileID, AttributeFlags, AttributeMask); | 74 | return ARC_CALL3(set_finfo, FileID, AttributeFlags, AttributeMask); |
75 | } | 75 | } |