/* * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; * either version 2, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE.See the GNU General Public License * for more details. * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __DEBUG_H__ #define __DEBUG_H__ #ifndef VIAFB_DEBUG #define VIAFB_DEBUG 0 #endif #if VIAFB_DEBUG #define DEBUG_MSG(f, a...) printk(f, ## a) #else #define DEBUG_MSG(f, a...) #endif #define VIAFB_WARN 0 #if VIAFB_WARN #define WARN_MSG(f, a...) printk(f, ## a) #else #define WARN_MSG(f, a...) #endif #endif /* __DEBUG_H__ */ ='master'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/virtio/asm/barrier.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-23 13:51:59 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-23 13:51:59 -0800
commita4685d2f58e2230d4e27fb2ee581d7ea35e5d046 (patch)
treec2873b20dc923fec4643addcb695aa9400f50430 /tools/virtio/asm/barrier.h
parent6302118226830c8f0aa0ec6afc8ef0cad84faa5f (diff)
parentfd7c99142d77dc4a851879a66715abf12a3193fb (diff)
Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
Pull tile bugfix from Chris Metcalf: "This avoids an issue with short userspace reads for regset via ptrace" * 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: tile/ptrace: Preserve previous registers for short regset write
Diffstat (limited to 'tools/virtio/asm/barrier.h')