/* * * Copyright (c) 2009 Nuvoton technology corporation * 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 of the License, or * (at your option) any later version. * * Author: * Wang Qiang(rurality.linux@gmail.com) 2009/12/16 */ #ifndef __NUC900FB_H #define __NUC900FB_H #include #include enum nuc900_lcddrv_type { LCDDRV_NUC910, LCDDRV_NUC930, LCDDRV_NUC932, LCDDRV_NUC950, LCDDRV_NUC960, }; #define PALETTE_BUFFER_SIZE 256 #define PALETTE_BUFF_CLEAR (0x80000000) /* entry is clear/invalid */ struct nuc900fb_info { struct device *dev; struct clk *clk; struct resource *mem; void __iomem *io; void __iomem *irq_base; int drv_type; struct nuc900fb_hw regs; unsigned long clk_rate; #ifdef CONFIG_CPU_FREQ struct notifier_block freq_transition; #endif /* keep these registers in case we need to re-write palette */ u32 palette_buffer[PALETTE_BUFFER_SIZE]; u32 pseudo_pal[16]; }; int nuc900fb_init(void); #endif /* __NUC900FB_H */ >packet-loop-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2017-01-18 14:29:21 +0100
committerIngo Molnar <mingo@kernel.org>2017-01-19 08:39:44 +0100
commitb5b46c4740aed1538544f0fa849c5b76c7823469 (patch)
tree125e7aced4835bad6f6a0c0d02d012f333caf922 /tools/objtool/special.h
parentfa19a769f82fb9a5ca000b83cacd13fcaeda51ac (diff)
objtool: Fix IRET's opcode
The IRET opcode is 0xcf according to the Intel manual and also to objdump of my vmlinux: 1ea8: 48 cf iretq Fix the opcode in arch_decode_instruction(). The previous value (0xc5) seems to correspond to LDS. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20170118132921.19319-1-jslaby@suse.cz Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/objtool/special.h')