Skip to content

Commit 40681b9

Browse files
mpepaulusmack
authored andcommitted
[POWERPC] Make doc comments extractable
We don't have much in the way of doc comments, but some of those we do have don't work because they start with "/***" or "/*", not "/**" which is what kernel-doc requires. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
1 parent 3ab2b38 commit 40681b9

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎arch/powerpc/kernel/crash_dump.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static int __init parse_savemaxmem(char *p)
8080
}
8181
__setup("savemaxmem=", parse_savemaxmem);
8282

83-
/*
83+
/**
8484
* copy_oldmem_page - copy one page from "oldmem"
8585
* @pfn: page frame number to be copied
8686
* @buf: target memory address for the copy; this can be in kernel address

‎arch/powerpc/sysdev/i8259.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ static struct irq_host_ops i8259_host_ops = {
224224
.xlate = i8259_host_xlate,
225225
};
226226

227-
/****
227+
/**
228228
* i8259_init - Initialize the legacy controller
229229
* @node: device node of the legacy PIC (can be NULL, but then, it will match
230230
* all interrupts, so beware)

‎include/asm-powerpc/irq.h‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ struct irq_map_entry {
137137
extern struct irq_map_entry irq_map[NR_IRQS];
138138

139139

140-
/***
140+
/**
141141
* irq_alloc_host - Allocate a new irq_host data structure
142142
* @node: device-tree node of the interrupt controller
143143
* @revmap_type: type of reverse mapping to use
@@ -159,14 +159,14 @@ extern struct irq_host *irq_alloc_host(unsigned int revmap_type,
159159
irq_hw_number_t inval_irq);
160160

161161

162-
/***
162+
/**
163163
* irq_find_host - Locates a host for a given device node
164164
* @node: device-tree node of the interrupt controller
165165
*/
166166
extern struct irq_host *irq_find_host(struct device_node *node);
167167

168168

169-
/***
169+
/**
170170
* irq_set_default_host - Set a "default" host
171171
* @host: default host pointer
172172
*
@@ -178,7 +178,7 @@ extern struct irq_host *irq_find_host(struct device_node *node);
178178
extern void irq_set_default_host(struct irq_host *host);
179179

180180

181-
/***
181+
/**
182182
* irq_set_virq_count - Set the maximum number of virt irqs
183183
* @count: number of linux virtual irqs, capped with NR_IRQS
184184
*
@@ -188,7 +188,7 @@ extern void irq_set_default_host(struct irq_host *host);
188188
extern void irq_set_virq_count(unsigned int count);
189189

190190

191-
/***
191+
/**
192192
* irq_create_mapping - Map a hardware interrupt into linux virq space
193193
* @host: host owning this hardware interrupt or NULL for default host
194194
* @hwirq: hardware irq number in that host space
@@ -202,13 +202,13 @@ extern unsigned int irq_create_mapping(struct irq_host *host,
202202
irq_hw_number_t hwirq);
203203

204204

205-
/***
205+
/**
206206
* irq_dispose_mapping - Unmap an interrupt
207207
* @virq: linux virq number of the interrupt to unmap
208208
*/
209209
extern void irq_dispose_mapping(unsigned int virq);
210210

211-
/***
211+
/**
212212
* irq_find_mapping - Find a linux virq from an hw irq number.
213213
* @host: host owning this hardware interrupt
214214
* @hwirq: hardware irq number in that host space
@@ -221,7 +221,7 @@ extern unsigned int irq_find_mapping(struct irq_host *host,
221221
irq_hw_number_t hwirq);
222222

223223

224-
/***
224+
/**
225225
* irq_radix_revmap - Find a linux virq from a hw irq number.
226226
* @host: host owning this hardware interrupt
227227
* @hwirq: hardware irq number in that host space
@@ -232,7 +232,7 @@ extern unsigned int irq_find_mapping(struct irq_host *host,
232232
extern unsigned int irq_radix_revmap(struct irq_host *host,
233233
irq_hw_number_t hwirq);
234234

235-
/***
235+
/**
236236
* irq_linear_revmap - Find a linux virq from a hw irq number.
237237
* @host: host owning this hardware interrupt
238238
* @hwirq: hardware irq number in that host space
@@ -247,7 +247,7 @@ extern unsigned int irq_linear_revmap(struct irq_host *host,
247247

248248

249249

250-
/***
250+
/**
251251
* irq_alloc_virt - Allocate virtual irq numbers
252252
* @host: host owning these new virtual irqs
253253
* @count: number of consecutive numbers to allocate
@@ -261,7 +261,7 @@ extern unsigned int irq_alloc_virt(struct irq_host *host,
261261
unsigned int count,
262262
unsigned int hint);
263263

264-
/***
264+
/**
265265
* irq_free_virt - Free virtual irq numbers
266266
* @virq: virtual irq number of the first interrupt to free
267267
* @count: number of interrupts to free
@@ -300,7 +300,7 @@ extern unsigned int irq_of_parse_and_map(struct device_node *dev, int index);
300300

301301
/* -- End OF helpers -- */
302302

303-
/***
303+
/**
304304
* irq_early_init - Init irq remapping subsystem
305305
*/
306306
extern void irq_early_init(void);

‎include/asm-powerpc/prom.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ struct of_irq {
259259
u32 specifier[OF_MAX_IRQ_SPEC]; /* Specifier copy */
260260
};
261261

262-
/***
262+
/**
263263
* of_irq_map_init - Initialize the irq remapper
264264
* @flags: flags defining workarounds to enable
265265
*
@@ -272,7 +272,7 @@ struct of_irq {
272272

273273
extern void of_irq_map_init(unsigned int flags);
274274

275-
/***
275+
/**
276276
* of_irq_map_raw - Low level interrupt tree parsing
277277
* @parent: the device interrupt parent
278278
* @intspec: interrupt specifier ("interrupts" property of the device)
@@ -292,7 +292,7 @@ extern int of_irq_map_raw(struct device_node *parent, const u32 *intspec,
292292
const u32 *addr, struct of_irq *out_irq);
293293

294294

295-
/***
295+
/**
296296
* of_irq_map_one - Resolve an interrupt for a device
297297
* @device: the device whose interrupt is to be resolved
298298
* @index: index of the interrupt to resolve
@@ -305,7 +305,7 @@ extern int of_irq_map_raw(struct device_node *parent, const u32 *intspec,
305305
extern int of_irq_map_one(struct device_node *device, int index,
306306
struct of_irq *out_irq);
307307

308-
/***
308+
/**
309309
* of_irq_map_pci - Resolve the interrupt for a PCI device
310310
* @pdev: the device whose interrupt is to be resolved
311311
* @out_irq: structure of_irq filled by this function

0 commit comments

Comments
 (0)