diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-03-29 15:29:28 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-04-02 12:12:55 -0400 |
commit | 51bcdf8879f7920946c90087e6160680812a44bd (patch) | |
tree | 554894b6d55c52bc639a055bf0055126fe0bb076 /arch | |
parent | a714ffff36a581756ec3b001f47e8e5e96a9fa0e (diff) |
arch/tile: fix a couple of comments that needed updating
Not associated with any code changes, so I'm just lumping these
comment changes into a commit by themselves.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/tile/kernel/setup.c | 11 | ||||
-rw-r--r-- | arch/tile/mm/fault.c | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index 5f85d8b34dbb..023e2e1cf7f8 100644 --- a/arch/tile/kernel/setup.c +++ b/arch/tile/kernel/setup.c | |||
@@ -913,6 +913,13 @@ void __cpuinit setup_cpu(int boot) | |||
913 | 913 | ||
914 | #ifdef CONFIG_BLK_DEV_INITRD | 914 | #ifdef CONFIG_BLK_DEV_INITRD |
915 | 915 | ||
916 | /* | ||
917 | * Note that the kernel can potentially support other compression | ||
918 | * techniques than gz, though we don't do so by default. If we ever | ||
919 | * decide to do so we can either look for other filename extensions, | ||
920 | * or just allow a file with this name to be compressed with an | ||
921 | * arbitrary compressor (somewhat counterintuitively). | ||
922 | */ | ||
916 | static int __initdata set_initramfs_file; | 923 | static int __initdata set_initramfs_file; |
917 | static char __initdata initramfs_file[128] = "initramfs.cpio.gz"; | 924 | static char __initdata initramfs_file[128] = "initramfs.cpio.gz"; |
918 | 925 | ||
@@ -928,9 +935,9 @@ static int __init setup_initramfs_file(char *str) | |||
928 | early_param("initramfs_file", setup_initramfs_file); | 935 | early_param("initramfs_file", setup_initramfs_file); |
929 | 936 | ||
930 | /* | 937 | /* |
931 | * We look for an additional "initramfs.cpio.gz" file in the hvfs. | 938 | * We look for an "initramfs.cpio.gz" file in the hvfs. |
932 | * If there is one, we allocate some memory for it and it will be | 939 | * If there is one, we allocate some memory for it and it will be |
933 | * unpacked to the initramfs after any built-in initramfs_data. | 940 | * unpacked to the initramfs. |
934 | */ | 941 | */ |
935 | static void __init load_hv_initrd(void) | 942 | static void __init load_hv_initrd(void) |
936 | { | 943 | { |
diff --git a/arch/tile/mm/fault.c b/arch/tile/mm/fault.c index cba30e9547b4..cac17c4f2ecf 100644 --- a/arch/tile/mm/fault.c +++ b/arch/tile/mm/fault.c | |||
@@ -130,7 +130,7 @@ static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) | |||
130 | } | 130 | } |
131 | 131 | ||
132 | /* | 132 | /* |
133 | * Handle a fault on the vmalloc or module mapping area | 133 | * Handle a fault on the vmalloc area. |
134 | */ | 134 | */ |
135 | static inline int vmalloc_fault(pgd_t *pgd, unsigned long address) | 135 | static inline int vmalloc_fault(pgd_t *pgd, unsigned long address) |
136 | { | 136 | { |