mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	MIPS: IP27: Use __noreturn instead of open coded attributes in declarations.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
		
							parent
							
								
									efc46d136f
								
							
						
					
					
						commit
						dd6e2db13f
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,7 @@
 | 
			
		|||
 * Copyright (C) 1997, 1998, 1999, 2000, 06 by Ralf Baechle
 | 
			
		||||
 * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
 | 
			
		||||
 */
 | 
			
		||||
#include <linux/compiler.h>
 | 
			
		||||
#include <linux/kernel.h>
 | 
			
		||||
#include <linux/sched.h>
 | 
			
		||||
#include <linux/timer.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -25,9 +26,9 @@
 | 
			
		|||
#include <asm/sn/gda.h>
 | 
			
		||||
#include <asm/sn/sn0/hub.h>
 | 
			
		||||
 | 
			
		||||
void machine_restart(char *command) __attribute__((noreturn));
 | 
			
		||||
void machine_halt(void) __attribute__((noreturn));
 | 
			
		||||
void machine_power_off(void) __attribute__((noreturn));
 | 
			
		||||
void machine_restart(char *command) __noreturn;
 | 
			
		||||
void machine_halt(void) __noreturn;
 | 
			
		||||
void machine_power_off(void) __noreturn;
 | 
			
		||||
 | 
			
		||||
#define noreturn while(1);				/* Silence gcc.	 */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue