PERFORCE change 180743 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Sun Jul 11 04:31:53 UTC 2010


http://p4web.freebsd.org/@@180743?ac=10

Change 180743 by gonzo at gonzo_figaro on 2010/07/11 04:31:08

	Protect kernel-only part from being used in userland apps

Affected files ...

.. //depot/projects/avr32/src/sys/avr32/include/cpu.h#7 edit

Differences ...

==== //depot/projects/avr32/src/sys/avr32/include/cpu.h#7 (text+ko) ====

@@ -30,6 +30,7 @@
 #ifndef MACHINE_CPU_H
 #define MACHINE_CPU_H
 
+#ifdef	_KERNEL
 #ifndef LOCORE
 #include <machine/bus.h>
 #include <machine/psl.h>
@@ -46,6 +47,7 @@
 void	fork_trampoline(void);
 
 #endif /* !LOCORE */
+#endif
 
 // Macros for segment addressing
 #define AVR32_SEG_P0			0x00000000


More information about the p4-projects mailing list